First steps in SP with an error

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
Ayuto
Project Leader
Posts: 2195
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Wed Aug 07, 2013 4:09 pm

Oh, I did too many things at once and started the wrong server. :D

Nevermind what I said.

Edit: Fixed! http://code.google.com/p/source-python/source/detail?r=e3ff6f9c53c3ec01fcccd8793865d3718b8a1176
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Wed Aug 07, 2013 4:47 pm

Actually, that fix will cause the issue I fixed previously. Instead, move the import that I moved prior to the "if" statement. I will do this when I get home if you haven't by then.

Satoon
User avatar
mister-man
Member
Posts: 70
Joined: Wed Aug 29, 2012 7:09 pm
Location: Germany

Postby mister-man » Wed Aug 07, 2013 7:52 pm

It works now, thanks ;)
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Thu Aug 08, 2013 1:39 am

Ok, this should now be completely fixed for any future changes, as well. Thank you for helping us.

Satoon
User avatar
mister-man
Member
Posts: 70
Joined: Wed Aug 29, 2012 7:09 pm
Location: Germany

Postby mister-man » Thu Aug 08, 2013 5:21 pm

Back to the first question.

If I try to send a msg to a user with SayText, there is an error.

Code: Select all

SP-ERROR: Could not find field name 'msg_name' for usermessage 'SayText'
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Thu Aug 08, 2013 6:32 pm

Use SayText2, it's better and safer anyway (it's the one with color support). Might be a bug with SayText, on CS:GO for example it crashes alltogether (unless that was fixed in the meantime :P)
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython
User avatar
mister-man
Member
Posts: 70
Joined: Wed Aug 29, 2012 7:09 pm
Location: Germany

Postby mister-man » Thu Aug 08, 2013 7:11 pm

Okay, thanks!

Return to “Plugin Development Support”

Who is online

Users browsing this forum: Bing [Bot] and 20 guests