Search found 1413 matches

by Ayuto
Wed Oct 09, 2013 6:21 pm
Forum: Code examples / Cookbook
Topic: Stripping weapons
Replies: 45
Views: 125559

arawa, your link has nothing to do with adrian's problem.

Please go to ../cfg/source-python/core_settings.ini and "enable" tracebacks. You will probably get errors about undefined methods, because these scripts were made before the naming scheme change (from CamelCase to names_with_underscores).
by Ayuto
Fri Sep 27, 2013 6:29 am
Forum: Plugin Development Support
Topic: Script failing to load
Replies: 1
Views: 3015

Actually your script should be located at ../addons/source-python/plugins/dnd/dnd.py. Update ../addons/source-python/packages/source-python with the package of the latest revision (this has been fixed on the Python side). Unable to start program 'D:\source-python\src\Release\ALL_BUILD' System cannot...
by Ayuto
Wed Sep 18, 2013 2:44 pm
Forum: Plugin Development Support
Topic: Import error player.wapons
Replies: 4
Views: 5183

Update your installation. I fixed that 4 days ago. :)
by Ayuto
Sat Sep 07, 2013 11:49 am
Forum: Plugin Releases
Topic: [d&d 3.5][wip]
Replies: 13
Views: 14803

There are more errors. However.. # ============================================================================= # >> IMPORTS # ============================================================================= # Python import math import os # Source.Python import players import entities import core impo...
by Ayuto
Thu Sep 05, 2013 6:17 pm
Forum: API Design
Topic: Directory structure
Replies: 38
Views: 31118

Some great ideas were brought up here! And here is another one! :D bin/core.dll bin/source-python.dll // This won't be changed very often and only contains pure Python stuff. engines/site-packages/ // If a custom package provides data, then place it somewhere in the // custom package. e.g. packages/...
by Ayuto
Tue Sep 03, 2013 8:10 am
Forum: Plugin Releases
Topic: [d&d 3.5][wip]
Replies: 13
Views: 14803

At the moment it requires the memory_c module. Then you can use UTIL_TraceLine for doing that.
by Ayuto
Wed Aug 14, 2013 7:50 pm
Forum: General Discussion
Topic: Popup
Replies: 16
Views: 13465

You can use ShowMenu directly if you want, but you should really update your addon as soon as a popuplib has been created.
by Ayuto
Wed Aug 14, 2013 9:08 am
Forum: General Discussion
Topic: Popup
Replies: 16
Views: 13465

mister-man wrote:Whats up with ShowMenu?
Is it possible to use it?

Or isn't it recoded after redesign?


www.sourcepython.com/showwiki.php?title=Wiki:messages&highlight=saytext

You "can" use it, but you should not use it for the same reason why you should not use es.menu.
by Ayuto
Wed Aug 14, 2013 9:06 am
Forum: Plugin Development Support
Topic: CSendProp pretty much broken - doesn't find any props.
Replies: 2
Views: 3656

Remove the "CBasePlayer." part. This SendProp implementation does not require a full property path.
by Ayuto
Fri Aug 09, 2013 4:01 pm
Forum: API Design
Topic: memory_c API design
Replies: 1
Views: 4311

memory_c API design

Hey, I would like to use this thread to discuss the API design of the memory_c module. We already had a large discussion internally and we are still discussing that, but we would like to know what you are thinking about the current design. Are there any things you would like to add? Or is there some...
by Ayuto
Fri Aug 09, 2013 11:56 am
Forum: News & Announcements
Topic: New August 7th, 2013 build!!
Replies: 6
Views: 8389

Yep, use the english version for now.
by Ayuto
Wed Aug 07, 2013 4:09 pm
Forum: Plugin Development Support
Topic: First steps in SP with an error
Replies: 26
Views: 19670

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
by Ayuto
Wed Aug 07, 2013 4:01 pm
Forum: Plugin Development Support
Topic: First steps in SP with an error
Replies: 26
Views: 19670

That line causes the issue. http://code.google.com/p/source-python/source/browse/src/core/modules/commands/say_command_wrap.cpp#161

Comment it out by putting two slashes in front of it. ---> // iFlags = 4;
by Ayuto
Wed Aug 07, 2013 2:25 pm
Forum: Plugin Development Support
Topic: First steps in SP with an error
Replies: 26
Views: 19670

What happens when you enter "plugin_print"?
by Ayuto
Wed Aug 07, 2013 11:51 am
Forum: Plugin Development Support
Topic: First steps in SP with an error
Replies: 26
Views: 19670

You will get that error if you press F5 instead of F7. But the files have been built correctly, so just move to src/Release or src/Debug and copy source-python.dll and core.dll to the appropriate folders.
by Ayuto
Fri Aug 02, 2013 6:29 am
Forum: Plugin Development Support
Topic: Events
Replies: 7
Views: 6781

Fixed as of the latest revision! Thanks for reporting and solving! :D

http://code.google.com/p/source-python/source/detail?r=631110465f107c65f21b71cf41e049fdf577b59d
by Ayuto
Wed Jul 31, 2013 10:16 pm
Forum: Plugin Development Support
Topic: Anyway to pass struct edict_t * pEdict ?
Replies: 2
Views: 3771

Both methods actually take a CEdict instance as an argument. http://code.google.com/p/source-python/source/browse/src/core/modules/engine/eiface_wrap.cpp#270 Is your repository clone up-to-date? Same for the issue you reported here. http://www.sourcepython.com/showthread.php?553-CEngineServer-get_pl...
by Ayuto
Sun Jul 07, 2013 5:55 pm
Forum: API Design
Topic: Custom event or listener for "CSourcePython::NetworkIDValidated"
Replies: 4
Views: 6803

Omega is right. EventScripts is firing this event in CEventScriptsPlugin::NetworkIDValidated().

Go to advanced search