![]() |
![]() |
Lyran |
![]()
Post
#1
|
||||||||||
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Hey hey me again guys ![]() Well. I ran a Listen Server in Ns_Lost, open to clients to join (sv_lan 0). WBots 0.94b for Aliens, and RCBots (the latest rcbot_mm.dll) for Marines. Note: I'm also running AMX and Admin Mod. I'll give details regarding those and their settings later. People eventually joined (three humans, two in Marines and one in Aliens). We played nice, everything was cool, until I noticed something strange going on with (or against ?) RCBots. They started to chat using sentences that are not into the chat.ini file. What I mean is...they started to say things I never wrote for them to say. It was created live during the gameplay, new sentences (and long ones) appearing each minute or so, sometimes longer. I noticed, but also ignored that for the gameplay purposes. But one of the guy in Marines eventually stopped talking. No biggy here. But at a point, he entered the Comm chair, and he wouldn't spawn buildings or items. We asked him, but he did not answer us. Eventually I decided to kick him, with a warning (play seriously on my server). It worked, and he got kicked. Just a few minutes after that, he came back, and said "hey sorry guys". I replied "ok it's cool". Then, he entered the Comm chair again, and....again, never talked anymore. Then I started to suspect him to actually create and "apply" the custom RCBot chatting...because when he quit, the "custom sentences" stopped, and started again when he came back. Here is the worst part... ![]() About 2 minutes after he came back and moved in the Comm chair my game froze. The screen froze. No more sounds, no more movements possible. Then I tried to go back to the Desktop, but it didn't work. I tried Ctrl+Alt+Del...didn't work. So I had to reset my PC and boot it. So, the point I'm trying to bring here is...is it possible there is an "exploit" somewhere within RCBots files ? Exploit that could allow pretty much anyone (knowing what they're doing, that is) to "take control" of what's going on, or just "flood" or "overflow" servers and make them crash ? Because I highly suspect my server froze due to some sort of hacking or cracking. You guys would surely ask for my AMX and Admin Mod settings, so, here they are... amx\config\configs.ini
amx\config\plugins.ini
Ok, and finally I'll add the fact that there is no AMX Modules running. Now, the Admin Mod basic settings... adminmod\config\adminmod.cfg
adminmod\config\plugin.ini
adminmod\config\users.ini
The "level" from the above users.ini is 131071. That level gives all the rights to all the commands available. As many of you already know of course. Finally... ![]() The "chatting" in my RCBots setting is set at "1", and the chat % is set at "5", it's well enough for me. And chat_dont_learn is set at "1" as well. The only file I never applied changes to, is the bot_users.ini file, where, it seems, some sort of Admin/Control over them is possible, am I wrong ? Well, anyway... So, with all the details here, I'd like to know if you guys think the cause of the "custom chat" can be determined ? ![]() Is there anyone who never experienced such a thing ? I'd appreciate some help, facts or comments. Peace guys ! ![]() |
||||||||||
![]() ![]() |
Lyran |
![]()
Post
#2
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Ok...
Yep me again. I just learned a few things at modNS.org. There seems to be a good number of exploits / bugs in N-S that can be "fixed" using specific AMX / Metamod plugins. I haven't read all the posts nor seen all the available plugins, so I'm not sure which one in there I should get, because it looks like there's a few must have ones. I got a question regarding the installation of AMX plugins. I know I need to add the plugin, in the plugin.ini file, and then add the .amx file in the plugin folder. But I just don't know what to do with the .sma file. Because there's just nowhere in the default amx folders with a .sma file, so it's a new kind of format, I don't know where to put it. Well, to finish this post I'd like to ask, which plugins you guys consider must haves ? Is it good to run Admin Mod and AMX at the same time ? Is it part of the problems I had mentioned in my first post ? Please, I'd appreciate some help. Peace ! ![]() |
LordSkitch |
![]()
Post
#3
|
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
The bots learn what humans say, Cheeseh incorporated this award-winning MegaHAL doohickey, so they start learning sentences, and then start re-wording them, and the longer you talk to it, the more humanlike its supposed to get. Even if they're not allowed to learn, theres a pretrain file that the bots use to set up their MegaHAL brains. They'll use that to start making sentences.
As for running Admin and AMX at the same time, so long as AMX is stripped down (I find AMX to be infinitately more crashy than adminmod, and adminmod has the randomassed potential to remove some random entity in the map until the next time its loaded...) but running concurrently, they seem to do fine. AdminMod doesn't quite have the control over the bots that AMX does, ie in AMX you can slay the bots.. but it's less problematic than AMX. As for your crashing... well.. I dunno, I'm a hater of listen servers, so I don't ever use em... There's bound to be problems coming from listen servers supporting bots and players... I'd totally suggest just running the console server, and then joining it through the lan tab on the steam servers listing. |
Lyran |
![]()
Post
#4
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Sup LordSkitch.
Yeah it's true. Listen Servers are not very good. I'm hosting them but never really liked to do so. I just never knew how to join my own Dedicated Server. And I learned that Ns_Lost (the map I was playing in when I had the problems mentioned in my first post) has a few bugs, with a potential to eventually crash a server or a client. I went trought all the AMX, Metamod and Admin Mod plugins today, and I downloaded the best ones I could find. A few of them are actual bug fixes. I got a problem though.... Those .SMA files, what do I do with em' ? All I know if they're supposed to be AMX plugins, but the thing is...the AMX plugins I currently have all are .AMX files, nothing else. I just add them in the plugins.ini, activate them and voila. But there's a lot of AMX plugins I downloaded that came as .SMA files only. Even worst, some of them came with both format, with the same file name for both files. The only thing I think I know now, is that .SMA files seem to be "un-compiled" .AMX files, in fact. But I might be wrong. So what do I do with them ? What happens to plugins that came with both file formats ? Also...about Metamod plugins I downloaded... Like the bugfix one for example. There's a bugfix.dll, a bugfix_i686.so, and a folder named "src", and within that folder there's a bunch of others, including one named "metamod". The readme.txt tells to install it "the same way any Metamod plugins are installed". Pretty detailed installation manual isn't it ? I know I need to put the .dll and the .so into the dll folder, and then activate it via Metamod's plugin.ini. I did so, and it seems to work. When I type meta list, in my console, it says bugfix plugin runs. Well, that's cool...but, what about all those other files and folders within the src folder that came with the download ? I mean...if they're useless they wouldn't have been included in the .RAR file in the first place hum ? Well...I think that's all the questions I have for now. Please, LordSkitch, or anyone else, I'd appreciate some help regarding these questions. Thanks for your time all. Peace ![]() |
anonym001 |
![]()
Post
#5
|
Member ![]() ![]() Group: Members Posts: 11 Joined: 22-December 04 Member No.: 461 ![]() |
The sma Files are files written in the c-Like Language "Small". The are uncompiled AMX-Plugins. With Amx you should have downloaded a compiler fpr them. I think it is in the scripting dir. (I have got a file called compile.bat, which executes sc.exe)
Play around with it, it shouldn't be so hard. How to join your own dedicated Server? Thats easy. Make sure you start hl.exe with console (Parameter -console). Then start your dedicated server. Then start hl.exe again. Klick on the consolebutton in the main menu and enter in console: connect 127.0.0.1 The other way would be, you add your own IP in Internetgames and join the new (own) server. The src dir contains normally the sourcecode. So you can check the bugs you've discovered and fix them...(e.g.) --Ano |
Sandman[SA] |
![]()
Post
#6
|
||
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
HAHA, dedicated servers 101. Steam has it's own dedicated server but it's in a different directory. Not like the good old days with won where both servers were in the same place. But in order to join your dedicated server which runs on the same PC, you have to change the dedicated servers port number. Make a shortcut to dedicated server and add this to the end of the target line.
As for compliling amx plugins with amx 099? Copy the plugin.sma to your addons\amx\examples\source folder. Then go back to your addons\amx\examples folder and dubble click "compile.bat". Once it's complete, go to your addons\amx\examples\compiled folder and copy & paste the new plugin.amx to your addons\amx\plugins folder. Lastly, open your addons\amx\config\plugins.ini and add the new plugin.amx to the list. If you have a problem compiling amx plugins then make sure you have all the required modules and include files needed for it. |
||
Lyran |
![]()
Post
#7
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Strange how the main subject in my first post eventually muted into stuff entirely related to plugins
![]() Thanks SandmanSA and anonym001 for all the information. I'm trying to compile (I'm using AMX 0.9.9), but it doesn't seem to work. I get an error message as follows: http://img56.exs.cx/img56/6197/compileerror1zr.jpg My amx\examples\source contains one folder named default, and that's all. Is it supposed to be like that ? What I did was...copy-paste one of my waypointsfix.sma (I'm using this as an example) into my \source folder. And then I ran the compile thing. And it showed me that error. My compiled folder remained empty. Any help ? ![]() |
Lyran |
![]()
Post
#8
|
||
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Yet something else I don't understand... How do I set my Admin Access rights via my STEAM ID ? I mean, I've followed the manuals to do so, and...well, actually I know how to. I just don't undersant why it doesn't work, and why my STEAM ID keeps changing...well sort of. Let me explain...
See ? that's what the Admin Mod Online Help Manual tells me. That's cool I understand. But there's one "problem" if I might say... I needed to know my STEAM ID...so I joined a server, and typed "users". My STEAM ID looked like the following (Of course I'm using example numbers): STEAM_1:1:11111 That how it looks for me. So, I open my users.ini file, enter the STEAM ID, my desired password, followed by my access rights code/number. And looks as follows: STEAM_1:1:11111:password:access number Well...the thing is...when I, myself, create a Listen Server (yeah yeah I know I'll eventually try with a Dedicated one instead, let's just stick with Listen for now please), my STEAM ID changes to STEAM_ID_LAN, then if I type "sv_lan 0", it changes to STEAM_ID_PENDING. So it obviously doesn't work, since my "real" STEAM ID has numbers, so I can't get access to anything. It's just then a mere and simple Listen Server running with a few plugins, with no control from no one at all. By the way please note that I've also tried to leave the password area blank, since my STEAM ID is supposed to be unique, and acts as a password by itself as well. So I tried that, and it doesn't work. So what am I missing here ? Is the Admin Mod authentication method done via STEAM ID's only working for Dedicated Servers ? I'm kind of lost here.........as usual ![]() Requiring some help, please. ![]() |
||
Sandman[SA] |
![]()
Post
#9
|
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
As for the strange crash on ns_lost, is it ns-b5 or b4? The b4 version is buged and unplayable.
Can you translate that compiler error message please? And it looks like your amx mod folder is incomplete. You may want to try downloading it again. Now, to autherise yourself on your listenserver with AMX, you use "loopback" or your game handle instead of steamid. This is done in the addons\amx\config\users.ini. BTW, if you want the waypointfix plugin, you will need install the latest ns2amx modual and include files. Those can also be found at modns.org. |
Lyran |
![]()
Post
#10
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
![]() Ok, a little update. SandmanSA, I'm using Natural-Selection Beta 5. I'm aware that the Beta 4 version of Ns_Lost had known bugs, that's about why it surprised me when it crashed (on my Beta 5). Never happened before. That's also why I said I was suspecting that guy, that he might have, somehow, overflowed or crashed my server (probably not due to the map itself). And, sorry, my OS is in French, since I'm French Canadian myself. Oh and, by the way, sorry if my english isn't good. I'm trying about my best. Anyway that's just a detail ![]() Translation of the error message: 1 Error. Press any key to continue... BUT...but...I got rid of that Error somehow...not sure how I did it though ![]() All I know is...I was browsing through a lot of .INC files on Amxmod.net and ModNS.org, replaced some of them, created a new one named ns2amx-fun. And that's within my amx\examples\include folder. I've also downloaded a bugfix.dll and a waypointsfix.dll for Metamod. Also, I've replaced my admin.amx file with a new one taken from the forums at Amxmod.net (well not into that site, but linked from that site, something like Djnet or something similar, I'd need to verify that again, It's in my Browser History for today's accessed sites for sure). And finally, I've downloaded a ns2amx_amx099.dll file that I needed to put into my modules folder, for Amxmod, plus, I've updated my users.ini file. So, I think all these changes and additions finally helped and made it so I'm Admin and have access to all rights in both Amx Mod and Admin Mod now. Well I just tried it with a Listen Server and it seemed to work. There is still a little problem, though (duh !)... Perhaps the name of the command is wrong, but...I can't seem to get a list of my activated AMX plugins. Is the command amx_plugin ? or amx_plugins or...? Because the only thing I can type to see running modules and stuff is meta list, but that doesn't show me all the AMX plugins that I know are technically activated into my plugins.ini. And, to end this post I'll mention a few things about the Amx Mod plugins I'm trying to get to work... Well, in fact there's only one I can't get to work, and it is Armory Heal. I had two files when I downloaded that from ModNS.org. One .SMA and one .AMX. Now I know that .SMA files are the source codes, are the "un-compiled" form of .AMX files, to allow custom changes, thanks to you guys. I've always been mixed-up about those files until now. Well, with that said...so I had both files. I tried the .AMX that came with it right away, but it didn't work. Then I compiled the .SMA, applied the new .AMX, tried it, and it doesn't work. I started a game, built an Armory, upgraded it to Advanced, built other buildings just in case...and nothing. That new rotating-red-cross-health model thingy on to of the Armory was not there. So I presume it just doesn't work. Do I need a seperate module to make it run ? If only I knew how I could see which AMX plugins were running I could get a clear idea on that. Oh and, before I forget, please someone answer this at all cost... ![]() Is there any way to see if I am the Admin on AMX Mod via a console command ? Because right now the only way I can see I am is to type something like "amx_csay" (a command I know I gave myself if my Admin rights ever worked), and if the name itself of the command appears before I type it completely then it means it's activated. Pretty cheap way to see if I am or not isn't it. Well, in fact, I think what would be best to know is all available and existing AMX Mod console commands. Is there such a list somewhere ? Well, thanks all, once again. Thanks for your time and support. This forum discussion definitely rocks ![]() |
Gruuunt |
![]()
Post
#11
|
![]() Advanced Moron ![]() ![]() ![]() ![]() Group: Waypointers Posts: 286 Joined: 21-December 03 From: Droitwich Spa, Worcestershire, Uk Member No.: 143 ![]() |
Press any key to continue or no message at all, is the message you get after a successful compile of the .sma file with no errors!
lets say you compiled a sma called killall.sma by using the command sc killall.sma with the working directory as examples ( I think I got an error if sc.exe was in the source directory). It will then put killall.amx into the examples directory. I'm sure 0.98 used to put it into the compiled directory but what the heck... Have a mooch around and see if it has created an .amx file with the same name of the .sma file you were compiling ![]() |
Sandman[SA] |
![]()
Post
#12
|
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
I really couldn't answer why you crashed on ns_lost in beta5 because I can't play it either for more then a minute or two. The only thing I could guess is that you had cheats enabled or someone exploited the amxmod loopback command loophole. Meening other people can gain auth through amxmod IF steam hes not yet verifide them when joining a listenserver. All the more reason to use a dedicated server instead of a listenserver!
You said you got the ns2amx modual for amx099? Did you remember to declare it in both the addons\amx\config\moduals.ini and the addons\metamod\plugins.ini? Did you get all the latest ns2amx include files as well? |
Lyran |
![]()
Post
#13
|
||
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Good question. Hum, well, how would I be able to know if I got all the "must have" ones or the "required / recommended" ones ? Could you please provide a link where I could download .inc files SandmanSA ? I'd really appreciate that. And by the way, I still got some problems with my compiling of AMX Mod plugins. It does work for just a few .sma files, but not for all the ones I have. I thought it did, but it doesn't since I recently tried with a new one (rmusic.sma). But please let's discuss the compiling problems in my Custom music thread. I already made a new post about this specific problem (I really, really want to at least make that one work properly). Thanks ! ![]() Edit: Ok I've tried a search by myself on the web, to find the most recent .INC files I could. And eventually found a good number there: http://www.genericviagrapills.com/addons/a...nclude/?C=D;O=A SandmanSA, so I tell you that I've replaced and added the files from that link into my include folder. I don't know what's that supposed to changed, technically, but my compiling still doesn't work for some of my plugins. |
||
Sandman[SA] |
![]()
Post
#14
|
![]() RCBot Waypointer ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 987 Joined: 15-September 03 From: Philadelphia Member No.: 19 ![]() |
latest ns2amx modual This comes with the include files.
As to your not being able to compile some plugins with amx099..... Some plugins just won't compile using the sc.exe that comes with amx099. ( buggy I guess ) It has been suggested to compile with other versions of amx but compatability reasons forbid it. Allthough, amx093 and 094 plugins are 100% compatable with amx099 and have a more stable sc.exe. Those older versions don't support steam but are great just to use for compiling stubbern plugins. If your running amx099 and need plugins compiled but can't do it then send me the sma file and I will compile it for you and include the moduals and include files required for the plugin to run. |
Lyran |
![]()
Post
#15
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
Thanks SandmanSA
![]() Oh and, Happy Christmas to everyone ! ![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 16th August 2025 - 12:08 AM |