Ivan275 Guest
| Subject: Kicsi server needs a fix Sun Apr 05, 2020 7:04 am | |
| You guys need to add a check to the input of "bridge" command. Im guessing the same goes for ramp, downramp and probably any command that you expect a numerical input. Check that its actually a number, and with in a value you expect and is not too big. I think I crashed the server with "bridge -1" or "bridge 10000" command.
Sorry :-( |
|
KicsiSajt Administrator
Posts : 449 Join date : 2008-01-20 Age : 33 Location : Hungary
| Subject: Re: Kicsi server needs a fix Sun Apr 05, 2020 3:55 pm | |
| I lost the source code of server, so i cant modify anything in it - Ivan275 wrote:
- You guys need to add a check to the input of "bridge" command. Im guessing the same goes for ramp, downramp and probably any command that you expect a numerical input. Check that its actually a number, and with in a value you expect and is not too big. I think I crashed the server with "bridge -1" or "bridge 10000" command.
Sorry :-( | |
|
Ivan275 Guest
| Subject: Re: Kicsi server needs a fix Sun Apr 05, 2020 8:35 pm | |
| That sux, over the years I too lost renegade scripts files and maps I modded. I can only modify and add to existing scripts source but you might be able to make a new scripts.dll rename your current one to say scripts0 and have the new script file do the checks and pass the rest to scripts0 and scripts2. Kind of like what was done when coders made scripts.dll and renamed the original scripts2 having the new scripts do stuff and pass the rest to the original dll. If you are able to do this, you would also be able to add new commands to this... |
|
KicsiSajt Administrator
Posts : 449 Join date : 2008-01-20 Age : 33 Location : Hungary
| Subject: Re: Kicsi server needs a fix Sun Apr 05, 2020 9:46 pm | |
| Most of codes comes from DeadSix6, i just edited some in it before, i dont do any coding thing in last 6 year, i forgot too much @ its 3.4 ssgm, like old one. - Ivan275 wrote:
- That sux, over the years I too lost renegade scripts files and maps I modded. I can only modify and add to existing scripts source but you might be able to make a new scripts.dll rename your current one to say scripts0 and have the new script file do the checks and pass the rest to scripts0 and scripts2. Kind of like what was done when coders made scripts.dll and renamed the original scripts2 having the new scripts do stuff and pass the rest to the original dll. If you are able to do this, you would also be able to add new commands to this...
| |
|
Sponsored content
| Subject: Re: Kicsi server needs a fix | |
| |
|