Search found 159 matches

by Predz
Fri Nov 06, 2015 3:56 pm
Forum: Plugin Development Support
Topic: Match End Event?
Replies: 6
Views: 5917

SkinN using the new events update to SourcePython, you can iterate through the GameEvent object. Just use a for loop and it works like a python dictionary :)
by Predz
Wed Nov 04, 2015 9:39 am
Forum: API Design
Topic: Adding Entity/PlayerEntity/WeaponEntity attributes via data
Replies: 4
Views: 14259

WOW! Didn't realize all this was possible, will have to get to work then.
Thanks :)

EDIT: For people using Python3.4 ensure you replace "from path import Path" with "from pathlib import Path" inside the virtuals/__init__.py
by Predz
Mon Nov 02, 2015 3:26 pm
Forum: Plugin Requests
Topic: Plugins converts from Eventscripts to Source Python
Replies: 35
Views: 26094

Both sound plugins are going to require a bit of work if you are planning to do them on csgo. If you have a look at my topic on sounds the .n that should give you a good idea of how to do it. :) I will be back tomorrow as have work til late. Will try to post an example tomorrow :D
by Predz
Sun Nov 01, 2015 9:54 pm
Forum: Plugin Releases
Topic: Bomb Effects (Quality of Life Plugin)
Replies: 4
Views: 5921

Thanks for the feedback :)

Will update this within the next few hours...
by Predz
Sun Nov 01, 2015 8:23 pm
Forum: Plugin Releases
Topic: Bomb Effects (Quality of Life Plugin)
Replies: 4
Views: 5921

Bomb Effects (Quality of Life Plugin)

I am going to be releasing a few quality of life plugins within the next few days for people to see. First of which is just a simple set of bomb effects which make it easier for players on the server to locate the bomb upon being planted. Many players have requested I put this into my server, so all...
by Predz
Fri Oct 30, 2015 2:02 pm
Forum: Plugin Requests
Topic: Plugins converts from Eventscripts to Source Python
Replies: 35
Views: 26094

Thanks Ayuto, didn't know that existed :)

Seem to have misunderstood slightly the global function :o
by Predz
Fri Oct 30, 2015 9:45 am
Forum: Plugin Requests
Topic: Plugins converts from Eventscripts to Source Python
Replies: 35
Views: 26094

For adverts use the code below: You just call send_advert where ever you want it to loop through. e.g. round_start, etc from ....... import send_advert send_advert() # ====================================================================== # >> IMPORTS # ======================================...
by Predz
Tue Oct 27, 2015 11:27 pm
Forum: API Design
Topic: Sound Fix for CSGO
Replies: 1
Views: 9986

Sound Fix for CSGO

Currently I am using the file below to correct the sound problem in CSGO. Have been testing it with multiple sounds and seems to fix the problem, not to sure if you wish to update this to the GIT? It just checks whether a sound is passed to the downloadables and if so then inserts the fake "rel...
by Predz
Tue Oct 27, 2015 3:38 pm
Forum: Plugin Development Support
Topic: Custom Sounds
Replies: 5
Views: 4487

Got it working :smile: from events import Event from engines.sound import Sound from filters.recipients import RecipientFilter from players.entity import PlayerEntity from players.helpers import index_from_userid from stringtables import string_tables from stringtables.downloads import Downloadables...
by Predz
Tue Oct 27, 2015 3:26 pm
Forum: Plugin Development Support
Topic: Custom Sounds
Replies: 5
Views: 4487

Thanks :) I forgot entirely about this problem. Will see if I can get it working using the fake precache. :)
by Predz
Tue Oct 27, 2015 3:18 pm
Forum: Plugin Development Support
Topic: Custom Sounds
Replies: 5
Views: 4487

CSGO (but 5 char limitation xD)
by Predz
Tue Oct 27, 2015 3:17 pm
Forum: Plugin Requests
Topic: Forum rules
Replies: 3
Views: 46796

I wanna request a plugin, that when ever Predz is to join a server, he is given infinite god mode and infinite ammunition! :D

Everyone please use this plugin as Predz will appreciate very mooch.
by Predz
Tue Oct 27, 2015 3:09 pm
Forum: Plugin Development Support
Topic: Custom Sounds
Replies: 5
Views: 4487

Custom Sounds

Currently am trying to get custom sounds working for a server I am working on. Am using the Sound class available and have tried playing the sound on my end after the download happens. The download works perfectly and anyone who joins downloads the file without error. However when trying to play the...
by Predz
Thu Oct 08, 2015 10:57 pm
Forum: General Discussion
Topic: SendNetMsg Error
Replies: 13
Views: 10124

SendNetMsg Error

Hey, currently trying to make a Hero Wars server. Am trying to keep console clean for debugging and managing database related issues. Come across this whilst trying to perform a lot of things at the same time. SendNetMsg <Insert IP Address>: stream[netchan_t::unreliabledata] buffer overflow (maxsize...
by Predz
Wed Oct 07, 2015 8:41 am
Forum: Plugin Development Support
Topic: ShowDamage
Replies: 17
Views: 10574

You haven't defined HudDestination and so therefore cannot use it. In this case you must import it directly from the SourcePython modules. Look below for the import:

Syntax: Select all

from messages import HudDestination


EDIT: God damn you Ayuto xD
by Predz
Mon Oct 05, 2015 8:35 am
Forum: Code examples / Cookbook
Topic: Interactive python interpreter!
Replies: 6
Views: 27520

You could create 1 line plugins with this xD

Challenge accepted :D
by Predz
Mon Oct 05, 2015 8:30 am
Forum: Plugin Development Support
Topic: What IDE do you use?
Replies: 5
Views: 4471

For managing your own projects I advice using Sublime Text, as Mahi said, the ease of use in this product is crazy. I still have Notepad ++ installed specifically for reading other peoples projects and it is good, but still prefer Sublime for the ease of use when wanting to modify a whole project.
by Predz
Wed Sep 30, 2015 8:07 am
Forum: Whatever
Topic: Odd Request (Splitting string in C++)
Replies: 4
Views: 5382

Also to elaborate on the purpose of speed. Most of the databases - that I will be fixing - will have lengths in the tens of thousands (possibly hundreds of thousands), so speed is sorta an issue in this circumstance.
by Predz
Tue Sep 29, 2015 10:44 pm
Forum: Whatever
Topic: Odd Request (Splitting string in C++)
Replies: 4
Views: 5382

After the CSS update to Steam IDs, a lot of databases were unusable, so therefore I created a small executable file in which you supply a SQLite database path and it will automatically convert all Steam IDs to the new versions. The reason I needed to make a exe file was because I was creating this g...
by Predz
Tue Sep 29, 2015 8:20 am
Forum: Plugin Requests
Topic: GiveCash
Replies: 13
Views: 9915

Change:

Syntax: Select all

player.cash += amount


To:

Syntax: Select all

player.cash = min(player.cash+amount, 16000)


Will make it so no matter the situation, when cash is given that the player's cash will never exceed $16000.

Go to advanced search