Search found 159 matches

by Predz
Sat Sep 10, 2016 9:39 am
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 86419

Re: Particle effects!

iPlayer have you tried to hook the CServerTools function? I am trying myself now, however cannot get hold of a CServerTools instance anymore. I believe we used to have access to it via the "server_tools" object. The only reason I say hook, is because I am trying to identify what function i...
by Predz
Sat Sep 10, 2016 12:55 am
Forum: Code examples / Cookbook
Topic: Particle effects!
Replies: 36
Views: 86419

Re: Particle effects!

I have been revisiting this recently, and noticed the cause of the problem for having to reconnect. For some reason the client always downloads the required pcf files after the client actually precaches all of their materials/generic items. I was wondering whether it is possible to force the client ...
by Predz
Tue Sep 06, 2016 3:53 pm
Forum: Plugin Releases
Topic: Hero Wars (Alpha)
Replies: 35
Views: 41397

Re: Hero Wars (Alpha)

Pleased to see you back Mahi :cool:
by Predz
Tue Sep 06, 2016 10:35 am
Forum: Plugin Releases
Topic: Hero Wars (Alpha)
Replies: 35
Views: 41397

Re: Hero Wars (Alpha)

Thanks, too used to using the old temp_entities object we had access too. Still adjusting to the new way. Have adjusted it already. :)
by Predz
Tue Sep 06, 2016 8:15 am
Forum: Plugin Releases
Topic: Hero Wars (Alpha)
Replies: 35
Views: 41397

Re: Hero Wars (Alpha)

Hey Doldol, the project hasn't gone far. Me and Mahi have collaborated to work on a more community driven plugin called Warcraft Source. I have a beta server running it atm, which I have been working on for the last week. The current git for the plugin is here: https://github.com/Mahi/Warcraft-SP I ...
by Predz
Tue Aug 16, 2016 7:06 pm
Forum: Plugin Development Support
Topic: Weapon Restriction System
Replies: 4
Views: 3779

Re: Weapon Restriction System

Yeh, sry :S from events import Event from filters.weapons import WeaponClassIter from players.entity import Player from weapons.restrictions import weapon_restriction_handler _knifeonly = set(weapon.basename for weapon in WeaponClassIter(not_filters='knife')) @Event('...
by Predz
Tue Aug 16, 2016 5:52 pm
Forum: Plugin Development Support
Topic: Weapon Restriction System
Replies: 4
Views: 3779

Weapon Restriction System

I am trying to use the current restriction system included in SP. Was using my old version until I realised there is now a version included, so have opted to use that instead now. However I am getting a few problems when trying to restrict weapons to a player. For some reason it seems to not recogni...
by Predz
Tue May 24, 2016 1:46 pm
Forum: Plugin Development Support
Topic: On Prop +use from Player
Replies: 7
Views: 5755

Re: On Prop +use from Player

Sorry took me a while to catch on... Working code below for reference: from engines.precache import Model from messages import SayText2 from players.entity import Player from players.helpers import index_from_userid from entities.entity import Entity from entities.datamaps import InputData from enti...
by Predz
Tue May 24, 2016 12:22 pm
Forum: Plugin Development Support
Topic: On Prop +use from Player
Replies: 7
Views: 5755

Re: On Prop +use from Player

I am trying to detect a player pressing +use on a prop which I can then parent to the player, looking like they are carrying it. So I could just check for the closest player. But again that is just working on a "derped" method rather than actually trying to fix my problem. :P I did look to...
by Predz
Tue May 24, 2016 9:23 am
Forum: Plugin Development Support
Topic: On Prop +use from Player
Replies: 7
Views: 5755

On Prop +use from Player

I am trying to hook onto the "use" function available when a player uses "+use" on a prop of any kind. The hook works perfectly however the arguments returned are of the Entity itself, and another that I cannot obtain info on. The returned arguments are (Pointer, Pointer), the fi...
by Predz
Thu May 05, 2016 7:30 am
Forum: Plugin Development Support
Topic: Hooking FireBullets
Replies: 4
Views: 5592

Re: Hooking FireBullets

Hey, I think there is a way to achieve this using the memory module to retrieve data from the pointer supplied. I am unsure on how to do this specifically using the memory module but hopefully I can help by proving the data inside the pointer. If I remember correctly I saw someone using offsets to p...
by Predz
Thu Apr 28, 2016 8:17 am
Forum: Custom Packages
Topic: *discontinued* MOTDPlayer
Replies: 6
Views: 24241

Re: MOTDPlayer

iPlayer, great thanks for putting the effort into this project! :) I am planning to use this for a few of my plugins if that is okay? I have a few people to help me design some neat GUI for this so I will give you a glimpse of it soon. Just getting used to how Flask interacts at the moment, whilst t...
by Predz
Thu Feb 25, 2016 7:19 am
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6378

Yep, have been testing with that from day 1, hehe. I realized though that I had done the replacement wrong above, because I used a text editor that seemed to not notice half the code for mdl files. Basically it had saved the file again but only at 5 bytes because it didn't see the rest of the text. ...
by Predz
Wed Feb 24, 2016 10:01 pm
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6378

I have just opened the file in Notepad and I see what you meant by the "," being replaced by "0". This is now causing a physics error:

Code: Select all

ERROR!: Can't create physics object for models/predz/turret_01.mdl
by Predz
Wed Feb 24, 2016 9:53 pm
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6378

Thanks for the reply L'In20cible, however I don't mean to be stupid but could you give me an example of what you mean by this? From what I remember, you simply need to replace the first "," with a "0" in the magic code of the mdl files. When I open the .mdl file in Sublime it shows what I am guessin...
by Predz
Wed Feb 24, 2016 8:24 am
Forum: Plugin Development Support
Topic: Use old Source Engine models in CSGO.
Replies: 8
Views: 6378

Use old Source Engine models in CSGO.

I am completely unsure on where to ask this, and I have tried to get hold of some modellers but no reply from them yet. Basically I am trying to bring models from Portal and HL2 into CSGO. I have tried decompressing the VPK files and directly taking the model files, but to no avail as the physics wo...
by Predz
Fri Feb 05, 2016 9:59 am
Forum: Plugin Development Support
Topic: Tick Listeners causing Server Crashes
Replies: 3
Views: 2968

Tick Listeners causing Server Crashes

Hey, This is a problem I have encountered whilst working on WCGO. I have a few servers I have access on to test stuff and am now testing on a new linux server. Muerte has supplied me with access to his server which runs linux on multiple virtual machines. I have tested all my heroes and items on "se...
by Predz
Wed Feb 03, 2016 3:37 pm
Forum: Plugin Development Support
Topic: SRCDS integration with the webserver
Replies: 16
Views: 14464

Yeh that SendNetMsg error seems to be popping up everywhere when I try to send too many messages in WCGO. I am guessing that sending too many large UserMsg's, causes some sort of problem. The main problem about that error is that the player cannot receive any type of UserMsg after the error occurs. ...
by Predz
Wed Feb 03, 2016 11:23 am
Forum: Plugin Development Support
Topic: SRCDS integration with the webserver
Replies: 16
Views: 14464

Hey, loving the idea of this! Do you have much of an idea if this is possible for CSGO? I have tried to display websites in MOTDs in CSGO before but to no avail myself. Really would like to try implement this into Warcraft GO if it is at all possible. I have multiple servers that I can use so hostin...
by Predz
Fri Nov 06, 2015 4:14 pm
Forum: Plugin Development Support
Topic: Match End Event?
Replies: 6
Views: 5915

No, you can't iterate. You can iterate over the "variables" attribute of the GameEvent object (or just print it). Example: from events import Event @Event('cs_win_panel_match') def cs_win_panel_match(event): print(event.variables.as_dict()) However,...

Go to advanced search