Search found 111 matches

by existenz
Sun May 07, 2017 12:36 pm
Forum: Plugin Development Support
Topic: [CSGO] Need help to spawn and move entity
Replies: 10
Views: 8876

Re: [CSGO] Need help to spawn and move entity

Thanks for your answer.

@Kill : I know about this function but i really want that the entity move in one direction.

@iPlayer : Yes, i want that entiry just crosses the map and despawn after arrive at the end of map. But the I want the trajectory to change every round.
by existenz
Sun May 07, 2017 10:49 am
Forum: Plugin Development Support
Topic: [CSGO] Need help to spawn and move entity
Replies: 10
Views: 8876

[CSGO] Need help to spawn and move entity

Hey ! I want to spawn an entity at random one end of the map, after that i wan't to trace a ray for this entity and it must follow this vector. But i don't know how to get the height and one end of the map and how to move an entity. Entity : heli = Entity.create('prop_dynamic') heli....
by existenz
Fri Apr 28, 2017 8:43 am
Forum: Plugin Development Support
Topic: Hook Player Weapon Equip
Replies: 4
Views: 4413

Re: Hook Player Weapon Equip

Hey ! Try the following code (I used a PreHook you can change to PostHook if you want): @EntityPreHook(EntityCondition.is_human_player, 'bump_weapon') def _on_weapon_bump(stack): player= make_object(Player, stack[0]) weapon = make_object(Entity, stack[1])
by existenz
Thu Apr 27, 2017 3:21 pm
Forum: Plugin Requests
Topic: [HL2:DM] Conquest Mod
Replies: 11
Views: 9922

Re: [HL2:DM] Conquest Mod

Sorry it's not my plugin. I don't know how it works.
by existenz
Mon Apr 17, 2017 5:00 pm
Forum: Plugin Development Support
Topic: Create own listener
Replies: 5
Views: 4884

Re: Create own listener

Hey ! I have one solution but i don't know if it's the best xD. ## listeners.py ## IMPORTS from listeners import ListenerManager from listeners import ListenerManagerDecorator ## ALL DECLARATION __all__ = ( 'OnPlayerAfk', ) class OnPlayerAfk(ListenerManagerDecorator): manager...
by existenz
Mon Apr 17, 2017 3:59 pm
Forum: Plugin Requests
Topic: [HL2:DM] Conquest Mod
Replies: 11
Views: 9922

Re: [HL2:DM] Conquest Mod

Hey !
Maybe try this : https://github.com/Kandru/conquest-go
It's a Csgo version but maybe it works for HL2, if not you can modify it.
by existenz
Fri Apr 14, 2017 11:36 am
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 6690

Re: [CSGO New Sp] Error on tick listener

Problem solved with the last Sp update :)
Thanks.
by existenz
Thu Apr 13, 2017 7:02 pm
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 6690

Re: [CSGO New Sp] Error on tick listener

Nice ! I will try to update it.
by existenz
Thu Apr 13, 2017 2:46 pm
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 6690

Re: [CSGO New Sp] Error on tick listener

Thanks for your answer.
For the second error i have remove it it's not due to latest build my bad.
I will retest when i m back. But i have delete all sp package and put the new and this error appear so i don't know, maybe mishandling.
by existenz
Thu Apr 13, 2017 2:04 pm
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 6690

Re: [CSGO New Sp] Error on tick listener

This error occurred with the latest build, with this correction :/
by existenz
Thu Apr 13, 2017 8:26 am
Forum: Plugin Development Support
Topic: [CSGO New Sp] Error on tick listener
Replies: 9
Views: 6690

[CSGO New Sp] Error on tick listener

Hey ! I have an error with the new version of Sourcepython (Maybe it's due to csgo update) Sourcepython is loaded without problem but when a player join i have this error and the warcraft mod is unload. Exception ignored in: <bound method GameThread.__del__ of <GameThread(Thread-1, started -4288...
by existenz
Wed Apr 12, 2017 6:36 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

Ok ok :)
by existenz
Wed Apr 12, 2017 5:21 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

@Ayuto Sorry i mean : Adding the -debug option usually generates a stack trace of the called C/C++ functions. This often gives you a good hint where the server crashed. However, I'm not sure why the stack trace is missing in this case. @iPlayer XD. I know :). But this crash is random too. I will put...
by existenz
Wed Apr 12, 2017 5:03 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

@iPlayer
I will try to put your debug. But maybe the latest Sp solve this crash :)
But for heroes it's different, you think i must put debug in all heroes which can crash ?

@Ayuto
Why i haven't this error ?
A problem in Warcraft mod ?
by existenz
Wed Apr 12, 2017 3:12 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

Thanks :)
by existenz
Wed Apr 12, 2017 3:07 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

For example sometimes when a player play this hero we have a crash, i don't know if it's when is jumps or hits somebody from random import randint from engines.server import global_vars from effects.base import TempEntity from entities.entity import Entity from filters.entities import EntityIter fro...
by existenz
Wed Apr 12, 2017 3:00 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

I use the latest from Predz (https://github.com/Predz/SP-Warcraft-Mod), but i have modify it.
by existenz
Wed Apr 12, 2017 2:53 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

Thanks for your both answers :)

Nice ! I will update my Sp.

And if i have a crash between two heroes, it's the same just a memory dump no traceback ...
So i will debug but it's difficult because it's random :s.
It would have been simpler if there were tracebacks.
by existenz
Wed Apr 12, 2017 7:43 am
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

Any python library or something can help me to have a stacktrace instead of '[New LWP 31159]' in debug log ?
by existenz
Tue Apr 04, 2017 5:19 pm
Forum: Plugin Development Support
Topic: [Help] Way to see cause of crash ?
Replies: 21
Views: 15283

Re: [Help] Way to see cause of crash ?

It generates debug.log and -debug is in start line. Maybe bad copy paste.

Start Line: ./srcds_linux -game csgo -console -usercon +map aim_ag_texture7 +ip 163.172.222.213 -port 27015 -maxplayers_override 14 -pidfile ogp_game_startup.pid +game_type 0 +game_mode 0 -tickrate 100 -debug

Go to advanced search