View Single Post
Old 19/06/2014, 10:10 PM   #26
Joe_Morito
Little Clucker
 
Join Date: Apr 2012
Location: Germany
Posts: 4
Reputation: 0
Exclamation AW: SampSharp - Write gamemodes in .NET

I found a bug when receiving a OnDialogResponse and OnPlayerText from the plugin, it seems to only submit the second character of the string when it's not the first player on the server. For example:

- player (0) joins
- player (0) writes "test" -> gamemode receives "test"
- player (1) joins
- player (1) writes "test" -> gamemode receives "e"
- player (0) writes "does it work?" -> gamemode receives "does it work?"
- player (1) writes "no " -> gamemode receives "o"

Further when a player disconnects or something i get exceptions when the Dialog class tries to access the dictionary OpenDialogs with unexisting keys.

Looking forward for fixes, or maybe i'm using it wrong somehow.

Great work there, keep going


Edit: Also, how can i use characters like ,,,,,,,... ?
Joe_Morito is offline   Reply With Quote