After a fresh pull from the Github, still getting a few errors with some of the packages :\
Search found 190 matches
- Tue Dec 30, 2014 5:10 pm
- Forum: Plugin Development Support
- Topic: Compiling issue
- Replies: 7
- Views: 4805
- Tue Dec 30, 2014 4:13 pm
- Forum: Plugin Development Support
- Topic: Compiling issue
- Replies: 7
- Views: 4805
- Tue Dec 30, 2014 6:26 am
- Forum: Plugin Development Support
- Topic: Compiling issue
- Replies: 7
- Views: 4805
- Tue May 20, 2014 9:29 am
- Forum: Plugin Development Support
- Topic: Hooking respawn
- Replies: 1
- Views: 2782
Hooking respawn
Want to make sure I am hooking the right function. I have two other questions also. Does this take place every time a player spawns, or only at round start? I see that there is one parameter for RoundRespawn, but I'm not sure what it is and a quick google didn't pull anything up for me. For CS:Sourc...
- Sat May 17, 2014 6:54 am
- Forum: Plugin Development Support
- Topic: Nesting damage
- Replies: 6
- Views: 6309
Nesting damage
If I would like a player to have bonus damage on attacks, it is possible to modify the victim's health without using PlayerEntity().damage. However, if the damage were to kill a victim, I am not exactly sure where to go with this as that function leads to infinite regression. Adding a check to see i...
- Fri May 16, 2014 12:27 pm
- Forum: Plugin Development Support
- Topic: Getting Eye Angle of player
- Replies: 4
- Views: 4694
- Fri May 16, 2014 11:44 am
- Forum: Plugin Development Support
- Topic: Getting Eye Angle of player
- Replies: 4
- Views: 4694
- Fri May 16, 2014 10:55 am
- Forum: Plugin Development Support
- Topic: Comparing Teams (interesting behavior)
- Replies: 2
- Views: 3281
Comparing Teams (interesting behavior)
I am was testing this code (for another thing) and when I am comparing teams, it seems to think the victim and player are on the same team. @SayCommand('!slay') def slay(player, teamonly, CCommand): myPlayer = PlayerEntity(userid_from_playerinfo(player)) for p...
- Sat May 10, 2014 8:44 pm
- Forum: Plugin Development Support
- Topic: Getting Eye Angle of player
- Replies: 4
- Views: 4694
Getting Eye Angle of player
What I would like to do is compare the eye angle of two players to determine if a player is behind another. I'm not seeing any properties in PlayerEntity for this, and was wondering if the functionality exists.
- Fri May 09, 2014 5:43 pm
- Forum: Plugin Development Support
- Topic: File object is referenced as string
- Replies: 1
- Views: 2504
File object is referenced as string
Not sure why my fileObj variable is being referenced as a string. TypeError: 'str' doesn't support buffer interface @SayCommand('!test') def test(player, teamonly, CCommand): fileObj = open('test.txt','wb') for x in dir(PlayerEntity): fileObj.write(x) #error here fileObj.close()
- Fri May 09, 2014 5:36 pm
- Forum: Plugin Development Support
- Topic: Sending messages to all players
- Replies: 6
- Views: 6771
- Mon May 05, 2014 10:00 pm
- Forum: Code examples / Cookbook
- Topic: Stripping weapons
- Replies: 45
- Views: 113038
@SayCommand('!test') def test(player, teamonly, CCommand): myPlayer = PlayerEntity(index_from_playerinfo(player)) msg(myPlayer.get_primary()) def msg(the_message): formatted_message = the_message for players in PlayerGenerator(): i = index_from_playerinfo(players) m = messages.SayText2(index=i, cha...
- Mon May 05, 2014 9:01 pm
- Forum: Code examples / Cookbook
- Topic: Damaging a player
- Replies: 12
- Views: 15770
- Mon May 05, 2014 8:28 pm
- Forum: Plugin Development Support
- Topic: Where did conversions_c move to?
- Replies: 2
- Views: 3281
Where did conversions_c move to?
Was able to find PlayerGenerator and commands.ClientCommands, but this last one is eluding me...
- Mon May 05, 2014 6:10 pm
- Forum: Whatever
- Topic: Building for linux
- Replies: 11
- Views: 12359
- Sun May 04, 2014 8:03 pm
- Forum: Plugin Development Support
- Topic: Handling unicode characters
- Replies: 7
- Views: 6459
- Sat May 03, 2014 9:03 pm
- Forum: Plugin Development Support
- Topic: Handling unicode characters
- Replies: 7
- Views: 6459
- Sat May 03, 2014 7:42 pm
- Forum: Plugin Development Support
- Topic: Handling unicode characters
- Replies: 7
- Views: 6459
- Sat May 03, 2014 2:45 pm
- Forum: Plugin Development Support
- Topic: Handling unicode characters
- Replies: 7
- Views: 6459
Handling unicode characters
I've come across a rather bit of a pain for myself with pickling and loading pickles. When I am storing information that includes a player's name, I believe I'm going to need to make sure the strings are properly formatted so I don't get errors on the pickle load. This happened when I was trying to ...
- Sat Apr 19, 2014 7:17 pm
- Forum: Plugin Releases
- Topic: [d&d 3.5][wip]
- Replies: 13
- Views: 14633