Search found 159 matches
- Sun Sep 27, 2015 7:01 pm
- Forum: Whatever
- Topic: Odd Request (Splitting string in C++)
- Replies: 4
- Views: 5505
- Sun Sep 27, 2015 6:49 pm
- Forum: Whatever
- Topic: Odd Request (Splitting string in C++)
- Replies: 4
- Views: 5505
Odd Request (Splitting string in C++)
Hey, maybe a odd request but how would I go about splitting a string in C++? I am sorta trying to recreate the following below in C++. def converter(steamid): prefix, a, b = steamid.split(':') return '[U:1:{}]'.format(int(b)*2+int(a)) string ID...
- Sun Sep 20, 2015 9:06 am
- Forum: General Discussion
- Topic: Loading SP Problem (May not be a problem on our side)
- Replies: 1
- Views: 2852
Loading SP Problem (May not be a problem on our side)
Hey. I just purchased a server from verygames.co.uk so I can stop using a dedicated server on my computer for testing plugins. I know it works on my computer, but have just uploaded it to the verygames server and seems to crash everytime it is attempted to be loaded. Anything I should be aware of th...
- Sun Aug 02, 2015 9:31 pm
- Forum: Plugin Development Support
- Topic: Using EntityPreHook on drop_weapon
- Replies: 7
- Views: 4835
- Sun Jul 26, 2015 10:43 am
- Forum: Plugin Development Support
- Topic: EntityPreHook bump_weapon lags
- Replies: 8
- Views: 7092
From what I know about the "weapon_bump" function in CSGO, and CSS, is that it seems to be fired every game tick as long as you are stood on a weapon. So therefore I think it maybe that your code is being fired every game tick and thus causing some sort of instability in the server. Not to sure othe...
- Sat Jun 06, 2015 7:06 am
- Forum: Plugin Development Support
- Topic: help porting pawn plugin to py
- Replies: 16
- Views: 12826
- Thu Jun 04, 2015 10:32 pm
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
Okay. Scrap everything I have been doing. I converted Rob123's suggested plugin directly and it works beautifully :grin: Code is below :smile: from players.entity import PlayerEntity from players.helpers import index_from_userid from events import Event from mathlib import Vector from messages impor...
- Thu Jun 04, 2015 11:21 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
What I have so far, am a little stuck now. Any help would be appreciated :) Also, think I went a little over the top with the math? Or is this all necessary? A picture is underneath for your reference. view_vector = player.view_vector # Construct the simple right angle triange including missing valu...
- Thu Jun 04, 2015 10:01 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
- Thu Jun 04, 2015 9:50 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
- Thu Jun 04, 2015 9:27 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
- Thu Jun 04, 2015 9:15 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
- Thu Jun 04, 2015 8:46 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
- Thu Jun 04, 2015 8:10 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
- Thu Jun 04, 2015 7:27 am
- Forum: Plugin Development Support
- Topic: Angle of Incidence
- Replies: 14
- Views: 10531
Angle of Incidence
Okay. This is less of scripting support and more of mathematical support :D I have tried to work this out myself, but just MASSIVELY confused myself in the process. I want to calculate the angle of incidence upon a player shooting a wall. I am not worried whether this is a 2D or 3D angle, however mu...
- Wed May 27, 2015 11:26 am
- Forum: Plugin Development Support
- Topic: Cs:go color & some weapons
- Replies: 15
- Views: 15761
Yeh the offsets have changed, just check this website if you want the current up to date ones.
https://www.sourcemodplugins.org/vtableoffsets/csgo
GiveNamedItem is now 446 and 447 for windows and linux, respectively.
https://www.sourcemodplugins.org/vtableoffsets/csgo
GiveNamedItem is now 446 and 447 for windows and linux, respectively.
- Tue May 26, 2015 10:13 am
- Forum: General Discussion
- Topic: render_color changes?
- Replies: 1
- Views: 2538
render_color changes?
Have there been changes to the render_color property? Because the current <Entity>.color property doesn't work. You must now supply a Color instance directly to the render_color property rather than an integer. I got it to work my side by doing.
Syntax: Select all
player.render_color = Color(255, 0, 0)
- Wed May 20, 2015 8:31 am
- Forum: News & Announcements
- Topic: A new release! (May 19, 2015)
- Replies: 23
- Views: 59796
- Wed May 20, 2015 8:11 am
- Forum: News & Announcements
- Topic: A new release! (May 19, 2015)
- Replies: 23
- Views: 59796
- Tue May 19, 2015 11:03 pm
- Forum: News & Announcements
- Topic: A new release! (May 19, 2015)
- Replies: 23
- Views: 59796
Thank you for the update, been hoping for one for a while, just have a problem :( I haven't tried this on a server yet but I seem to crash when loading CSGO in insecure mode. CSGO doesnt even get into the first image, just goes black and crashes. Not to sure whether this helps or not but I can't fin...