Search found 1426 matches
- Tue Dec 18, 2012 9:47 am
- Forum: API Design
- Topic: Binutils.FindVirtualFunction()
- Replies: 8
- Views: 35189
- Tue Dec 18, 2012 9:38 am
- Forum: News & Announcements
- Topic: Getting/Setting offsets
- Replies: 15
- Views: 61635
- Tue Dec 18, 2012 9:33 am
- Forum: API Design
- Topic: Binutils.FindVirtualFunction()
- Replies: 8
- Views: 35189
Binutils.FindVirtualFunction()
Hi, I just noticed the latest revision and there might be two problems. 1. Linux offsets are not always one greater than Windows offsets. You can see an example here: http://forums.eventscripts.com/viewtopic.php?f=25&t=46254&start=6 The offset on Windows for CBaseClient::SetName() is 17, but on Linu...
- Wed Dec 05, 2012 10:33 am
- Forum: General Discussion
- Topic: Download brokan
- Replies: 3
- Views: 10692
Hi,
you can download a compiled version from the repository. http://code.google.com/p/source-python/downloads/list
you can download a compiled version from the repository. http://code.google.com/p/source-python/downloads/list
- Sun Dec 02, 2012 8:43 pm
- Forum: Plugin Development Support
- Topic: UserMessage Menu
- Replies: 15
- Views: 43321
- Mon Sep 03, 2012 9:43 pm
- Forum: General Discussion
- Topic: Find out current map
- Replies: 6
- Views: 19687
- Mon Sep 03, 2012 8:39 pm
- Forum: Plugin Development Support
- Topic: EasyPlayer creates new instance on every call?
- Replies: 5
- Views: 14491
- Sat Sep 01, 2012 6:19 pm
- Forum: General Discussion
- Topic: entity_edict.cpp question [How to respawn a player]
- Replies: 12
- Views: 47688
Yeah, that's right. es_spawnplayer and es_spawnentity are using DispatchSpawn. http://master.build.eventscripts.com/eventscripts/eventscripts2/file/6936a4bee74c/mattie_eventscripts.cpp#l3656
I'm pretty sure that it would work, if you set these props.
I'm pretty sure that it would work, if you set these props.
- Thu Aug 30, 2012 8:15 pm
- Forum: General Discussion
- Topic: paths.py suggestion
- Replies: 5
- Views: 21315
- Thu Aug 30, 2012 6:48 pm
- Forum: Plugin Development Support
- Topic: sqlite3 connect (PATH)
- Replies: 4
- Views: 16741
You can simply extend your path. So you could do it like this:
Syntax: Select all
conn = sqlite3.connect('csgo/addons/source-python/ADDON_NAME/kiwi.db')
- Wed Aug 29, 2012 8:30 am
- Forum: General Discussion
- Topic: Easy Way to port an existing Eventscripts Addon
- Replies: 10
- Views: 28380
BackRaw wrote:Syntax: Select all
@Event # do I need this here ?
def unload():
myplayers.clear() # clear out our player dictionary
No, this is handled here: http://code.google.com/p/source-python/source/browse/addons/source-python/_libs/addons/manager.py#92 ;)
- Tue Aug 28, 2012 8:51 pm
- Forum: General Discussion
- Topic: Popup
- Replies: 16
- Views: 49381
Just to give some ideas: https://www.assembla.com/code/menulib/subversion/nodes?rev=15 :P
- Wed Aug 15, 2012 10:56 am
- Forum: Whatever
- Topic: cs:go weapon list of all the weapon names in the game?
- Replies: 12
- Views: 33540
That isn't an issue and has nothing to do with Source Python. You might have noticed this behavior when using item_pickup with EventScripts. Some things contain the complete class name and other things only the partial class name.
- Sat Aug 11, 2012 3:51 am
- Forum: API Design
- Topic: Player List Filters
- Replies: 20
- Views: 73931
- Fri Aug 10, 2012 6:33 pm
- Forum: API Design
- Topic: Player List Filters
- Replies: 20
- Views: 73931
- Fri Jul 20, 2012 12:01 pm
- Forum: Plugin Releases
- Topic: The first Addon: Hide Disconnect-Reasons
- Replies: 3
- Views: 14042
- Wed Jul 18, 2012 10:49 pm
- Forum: API Design
- Topic: Using __call__ to execute a command on server/client
- Replies: 8
- Views: 27430
- Wed Jul 18, 2012 6:19 am
- Forum: Whatever
- Topic: Help appreciated :)
- Replies: 16
- Views: 55169
- Sun Jul 15, 2012 8:35 pm
- Forum: General Discussion
- Topic: A few questions according for scripts
- Replies: 19
- Views: 66634
Source.Python is still in developement, so some things may change with a new revision. I guess the script you saw was made before the idea with decorators. However here is an example.
Syntax: Select all
from events.decorators import event
@event
def player_say(game_event):
pass
- Sun Jul 15, 2012 2:33 pm
- Forum: API Design
- Topic: Event system discussion
- Replies: 22
- Views: 94819