Search found 1256 matches

by L'In20Cible
Sun Jan 22, 2017 1:11 am
Forum: Plugin Development Support
Topic: Modifying chat with sayfilter but SayCommand doesnt "register"
Replies: 84
Views: 58678

Re: Modifying chat with sayfilter but SayCommand doesnt "register"

Once you have wrapped the filter, you can add/remove recipients. recipients.add_all_players() However, you won't be able to wrap the filter if the message has been initialized by SM. Main reason being that their class is compiled with no RTTI data that Boost rely on and the fact that while w...
by L'In20Cible
Fri Jan 20, 2017 7:43 am
Forum: Plugin Development Support
Topic: Spawn entity and attach to player?
Replies: 3
Views: 3059

Re: Spawn entity and attach to player?

What is your complete code?
by L'In20Cible
Fri Jan 20, 2017 7:18 am
Forum: Plugin Development Support
Topic: Spawn entity and attach to player?
Replies: 3
Views: 3059

Re: Spawn entity and attach to player?

The function you are looking for is Entity.set_parent.
by L'In20Cible
Fri Jan 20, 2017 1:36 am
Forum: Plugin Development Support
Topic: Set target_name of Player
Replies: 5
Views: 4095

Re: Set target_name of Player

Example of how messy a thread with multiple unrelated questions can get: viewtopic.php?f=20&t=1019#p6564

Fun fact, it's your own thread. :tongue:
by L'In20Cible
Fri Jan 20, 2017 1:30 am
Forum: Plugin Development Support
Topic: Set target_name of Player
Replies: 5
Views: 4095

Re: Set target_name of Player

BTW: Can I multiply a Vector by a specific amount? Lets say I get the base velocity of a player, and I want to multiply it by 1.2x, can I do it better than multiplying each x y z and making it a new vector? Sorry for my grammar Please, create one question per thread; makes it easier for user search...
by L'In20Cible
Fri Jan 20, 2017 1:16 am
Forum: Plugin Development Support
Topic: Set target_name of Player
Replies: 5
Views: 4095

Re: Set target_name of Player

The attribute target_name should be available for all entities. I will look into why it raise an error. What is the complete code you are using? In any case, you can use the following to set it: player.set_keyvalue_string('targetname', '<name>') EDIT: I just tested the follow...
by L'In20Cible
Thu Jan 19, 2017 10:46 pm
Forum: General Discussion
Topic: [CS:GO] Problem with SourceMod plugin
Replies: 15
Views: 13568

Re: [CS:GO] Problem with SourceMod plugin

So SP must be loaded after SM. LaserFences in included in TeamGames.smx. SM plugins cannot be loaded all at once? What I meant by that, is that while SP might be loaded after SM, that LaserFence plugin might be loaded after SP so their signature no longer match since SP has inserted its JMP already...
by L'In20Cible
Thu Jan 19, 2017 10:13 pm
Forum: General Discussion
Topic: [CS:GO] Problem with SourceMod plugin
Replies: 15
Views: 13568

Re: [CS:GO] Problem with SourceMod plugin

This is definitely a conflit between CBaseEntityOutput::FireOutput hooks. If you are sure that SP is loaded after SM, then that means the plugin LaserFences is loaded later on. To confirm it, you could try to disable that hook for SP. To do so, delete everything after line 41 into ../addons/source-p...
by L'In20Cible
Thu Jan 19, 2017 8:38 pm
Forum: General Discussion
Topic: [CS:GO] Problem with SourceMod plugin
Replies: 15
Views: 13568

Re: [CS:GO] Problem with SourceMod plugin

Okay, I just tested myself and now it seems you have to add the addons/ prefix to the command:

Code: Select all

plugin_load addons/source-python
I'm sure this wasn't a requirement before.
by L'In20Cible
Thu Jan 19, 2017 8:23 pm
Forum: General Discussion
Topic: [CS:GO] Problem with SourceMod plugin
Replies: 15
Views: 13568

Re: [CS:GO] Problem with SourceMod plugin

Don't use RCON. Add the line to your autoexec.cfg. You cannot load a plugin while a map is running.

Code: Select all

plugin_load source-python
plugin_load : cannot load a plugin while running a map
by L'In20Cible
Thu Jan 19, 2017 7:31 pm
Forum: General Discussion
Topic: [CS:GO] Problem with SourceMod plugin
Replies: 15
Views: 13568

Re: [CS:GO] Problem with SourceMod plugin

Load SP after SM. Delete the ../addons/source-python.vdf file and add plugin_load source-python to your autoexec.cfg.

Now that CS:GO use signatures on Linux, this seems to be related to issue #108.
by L'In20Cible
Wed Jan 18, 2017 9:05 pm
Forum: Whatever
Topic: SRCDS Host_Error
Replies: 25
Views: 22691

Re: SRCDS Host_Error

holy c*** im exposed..srsly it really doesnt help when 3rd parties jump into this thread, where none of you know the backstory..and if i try to reply to you now, satoon might ban me, and if i dont reply, you encourage ayuto and linceble to think that they are right. they are probably leaning back r...
by L'In20Cible
Tue Jan 17, 2017 11:51 pm
Forum: Whatever
Topic: SRCDS Host_Error
Replies: 25
Views: 22691

Re: SRCDS Host_Error

why noone is replying... while you only gave wrong info. We are not replying, then we give wrong info? Interesting. lol, read your whole damn post. you too do nothing but attack me. you take things i said and misinterprete them to attack me, like ayuto, instead of answering me. like before, you tic...
by L'In20Cible
Tue Jan 17, 2017 10:16 pm
Forum: Whatever
Topic: SRCDS Host_Error
Replies: 25
Views: 22691

Re: SRCDS Host_Error

well except messing up my computer by almost reinstalling everything on my computer/server etc now, to get ready to receive the first meaningful sentence from other serverdevs here in the forum, against my own opinion, im now really at an end of looking into this . when trolls post into this forum ...
by L'In20Cible
Tue Jan 17, 2017 8:51 pm
Forum: Plugin Development Support
Topic: post json data lag
Replies: 12
Views: 8918

Re: post json data lag

decompile wrote:Imo it would be good to have an updated and most recent version out of a super GameThread which can be used for http POST or whatever.

Would be good, yes. How about you propose a PR? :)
by L'In20Cible
Tue Jan 17, 2017 8:45 pm
Forum: Plugin Development Support
Topic: EntityPreHook "touch" crashing
Replies: 22
Views: 17164

Re: EntityPreHook "touch" crashing

I made some testing and the crash doesn't occurs when you touch the func_door_rotating. In fact, it does crash when you touch the prop_dynamic that have the func_door_rotating as parent. Calling an hooked function within a callback always been crashing and since the original function is calling the ...
by L'In20Cible
Tue Jan 17, 2017 6:06 am
Forum: Whatever
Topic: SRCDS Host_Error
Replies: 25
Views: 22691

Re: SRCDS Host_Error

what would you say why noone is helping? Maybe cause you are making it really hard to help you? You delete all your posts and/or edit them removing all the information with reason "del post" or "nvm". I personally don't have this issue. And as long as you won't try on a fresh in...
by L'In20Cible
Tue Jan 17, 2017 5:34 am
Forum: Whatever
Topic: SRCDS Host_Error
Replies: 25
Views: 22691

Re: SRCDS Host_Error

Bumping a thread being already the most recent is kinda... useless. :p
by L'In20Cible
Tue Jan 17, 2017 5:26 am
Forum: Plugin Development Support
Topic: EntityPreHook "touch" crashing
Replies: 22
Views: 17164

Re: EntityPreHook "touch" crashing

This site seems to have some trouble. It adds the following header to the archive: <br /> <b>Deprecated</b>: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in <b>/home/filedrop/public_html/files/db.php</b> on line <b>7</b><br /> So if ...
by L'In20Cible
Tue Jan 17, 2017 5:09 am
Forum: Plugin Development Support
Topic: EntityPreHook "touch" crashing
Replies: 22
Views: 17164

Re: EntityPreHook "touch" crashing

Kami wrote:Actually Erde means Earth in german! But I like the merde version better ;D

Makes more sense now. :tongue:


Ty!

Go to advanced search