Returning to ID 0
#1

Hello all

I have a rather large problem with my game mode.
For some reason or another, every single command is returning back to ID 0.
For example, If I /ban 2 then ID 0 will get banned.

I have no idea what's going on, it was working fine yesterday and earlier on but now it's not.
All the commands are fine, is there something obvious i'm missing off OnGameModeInit or something?

My commands are all in dcmd.

Regards
Dan.
Reply
#2

Do you use the "u" parameter in sscanf? If so, did you update your server to 0.3d?

If all of the above are correct, then the problem is that sscanf is not currently coded for the 0.3d release, the "u" parameter is not working as intended and will not work as intended until updated by the author.
Reply
#3

I do use the "u" parameter in sscanf yes although I haven't updated yet to 0.3d - I am on 0.3c RC5 if that helps?
Reply
#4

Can you please show your code?
Reply
#5

1) Can't at the moment, on phone.
2) Which part of my code? Its affected every command of the gamemode.
Reply
#6

If its affecting everycommand and you use dcmd, mabye it could be somthing with OnPlayerCommandText? Not sure thought, I don't use DCMD.
Reply
#7

Possibly. I'll check it out tomorrow. I am off to bed now - night night lovely people.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)