Search found 129 matches

by D3CEPTION
Sun May 29, 2016 12:48 pm
Forum: Plugin Development Support
Topic: OnWeaponReloaded listener?
Replies: 35
Views: 24743

Re: OnWeaponReloaded listener?

BackRaw wrote:is it possible to (probably measure by weapon classname) how long the reload animation would take?
I want to refill the weapon's ammo

sorry if im curious, but what use could this have on a server?
by D3CEPTION
Tue May 10, 2016 8:14 pm
Forum: General Discussion
Topic: Clearing Model Cache
Replies: 13
Views: 10115

Re: Clearing Model Cache

ill probaby spam this entire thread now. but i have more thoughts.. :D 1) why does tempentity.base have its own precache function? 2) i figured out an idea in which, maybe i can achieve my goal of the entire above process, without any big effort, it goes as follows: can i use sendtables, to push a t...
by D3CEPTION
Tue May 10, 2016 4:57 pm
Forum: General Discussion
Topic: Clearing Model Cache
Replies: 13
Views: 10115

Re: Clearing Model Cache

okay, let me rephrase everything :im trying to flush a specific model from server cache. now i have a few questions: 1) how do i call the current modelcache length/size? e.g. 102/4096 active models ("cache_print" seems to be wrong? and stringtables.modelprecache might just be a inadequate ...
by D3CEPTION
Tue May 10, 2016 4:46 pm
Forum: General Discussion
Topic: Clearing Model Cache
Replies: 13
Views: 10115

Re: Clearing Model Cache

yeah my index was wrong, i knew it worked before 2 months ago. endlock index is 33 in csgo. my bad :D
i would still like to know if anybody had any success with this or knows how to flush models from server cache!
unluckily endlock wasnt the way to go
by D3CEPTION
Tue May 10, 2016 4:42 pm
Forum: General Discussion
Topic: Clearing Model Cache
Replies: 13
Views: 10115

Re: Clearing Model Cache

thank you, yes ive tried that before, but got this error "RuntimeError: Access violation while reading address '337'."
so i disregarded the try. i gotta find out what this error means exactly for now. its definately function related. maybe im calling the wrong vtable index..
by D3CEPTION
Tue May 10, 2016 4:11 pm
Forum: General Discussion
Topic: Clearing Model Cache
Replies: 13
Views: 10115

Re: Clearing Model Cache

somehow, when i flush a specific model with this code, no changes in the length of string_tables.modelprecache happen... from studio.cache import model_cache model_cache_ptr = memory.get_object_pointer(model_cache) def Flush_Model(index,flag): flush = model_cache_ptr.make_virtual_function( 28, Conve...
by D3CEPTION
Sat Apr 30, 2016 3:16 pm
Forum: General Discussion
Topic: keyvalue / property improvement
Replies: 3
Views: 3626

Re: keyvalue / property improvement

i havent saved my results, but some keyvalues have entries, that are neither of the get_key_value_x type i think. also "angles" is represented as "angle" in datamap and all the "datamap.x" values dont have stringsplit checks/ dont work at all, i think? cant remember in ...
by D3CEPTION
Sat Apr 30, 2016 2:15 pm
Forum: General Discussion
Topic: keyvalue / property improvement
Replies: 3
Views: 3626

keyvalue / property improvement

ive looked into sp recently and both keyvalues and properties have struggle properly interpreting data for the enduser, like scripters. in kevalues there are two problems atm : some datamaps are wrong, byte to string fails or even unsupported datatypes, so that some values cant even be accessed. in ...
by D3CEPTION
Wed Apr 27, 2016 4:25 am
Forum: Whatever
Topic: Accessing Sub-Properties
Replies: 1
Views: 4140

Accessing Sub-Properties

CBasePlayer 65535 [33 properties]: datatable baseclass (offset 0) datatable pl (offset 2960) [1 properties]: int deadflag (offset 4) int m_afPhysicsFlags (offset 3132) int m_hVehicle (offset 3136) int m_hUseEntity (offset 3120) int m_hGroundEntity (offset 348) int m_iHealth (offset 532) int m_lifeS...
by D3CEPTION
Tue Apr 26, 2016 6:38 am
Forum: Whatever
Topic: using sendprop/sendtables
Replies: 4
Views: 5702

Re: using sendprop/sendtables

basically i would mess around with the sendtables, see how the engine reacts with different entries, skipping certain functioncalls, find new possibilies. but i guess ill find the same answers, the boring way, by searching around in the sdk github
by D3CEPTION
Mon Apr 25, 2016 10:54 am
Forum: Plugin Development Support
Topic: setting player crosshair
Replies: 3
Views: 3014

Re: setting player crosshair

it should do the same as set view_angle anyway :/ i was trying to see if i could set view to another entity and yet adopt its crosshairdata. ofc this would be limited to tickrate, butim generally trying to understand the engine module here, im also wondering why there is this function: .def("is...
by D3CEPTION
Mon Apr 25, 2016 10:41 am
Forum: Whatever
Topic: using sendprop/sendtables
Replies: 4
Views: 5702

Re: using sendprop/sendtables

i know :D if you look into my post edits, you can see i changed around a lot, as i got confused a few times myself ;)
do you know at all, if the server has any ability to create one via python? maybe through memory module (copying existing object)?
by D3CEPTION
Mon Apr 25, 2016 8:38 am
Forum: Whatever
Topic: using sendprop/sendtables
Replies: 4
Views: 5702

using sendprop/sendtables

ive asked about how to use sendtables before in the forum and now stumbled upon this function: .def("playback_temp_entity", &IVEngineServer::PlaybackTempEntity, "Queue a temp entity for transmission", args("filter", "delay", "sender", "st&qu...
by D3CEPTION
Mon Apr 25, 2016 8:19 am
Forum: Plugin Development Support
Topic: setting player crosshair
Replies: 3
Views: 3014

setting player crosshair

was looking around at some engine functions and couldnt get this one to work in csgo, but it wasnt marked as such?

Code: Select all

import players
import random
@OnTick
def aa():
   engine_server.crosshair_angle(players.entity.Player(1).edict,random.randint(-90,90),random.randint(0,360))
by D3CEPTION
Sun Apr 24, 2016 2:39 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9295

Re: SP does not work CS:GO

the idea was to set identifier-algorythms(opcode decoding) for each server function that source python needs to use. these algorythms then @serverinit identifiy their respective functions through a python dissambler, that then takes the functions signature that boost python uses to create the correc...
by D3CEPTION
Sun Apr 24, 2016 1:40 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9295

Re: SP does not work CS:GO

my terminology just was complely off, im not used to this field of coding. ive looked into ida again and ofc im not talking about bytestructures, im talking about writing mechanisms in python for each function, to decode opcodestructures performed by subroutines. the subroutines, how registers etc g...
by D3CEPTION
Sun Apr 24, 2016 12:09 pm
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9295

Re: SP does not work CS:GO

yes, route directly to the desired class/function. as long as valve doesnt obsfuscate the byte structure, which wont happen, it should always have the same decode-algorythm, right? do you use the inis for any other purpose? although when i made the post i forgot that these major updates, dont usuall...
by D3CEPTION
Sun Apr 24, 2016 1:34 am
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9295

Re: SP does not work CS:GO

okay, so never mind the word "offset fixer". string literal -> function call on linux? as long as the byte structure of the functions doesnt change, shouldnt my idea with an offset parser for windows work? sp -> entrypoint into server memory -> assembly decode -> signature array -> insert ...
by D3CEPTION
Sun Apr 24, 2016 1:07 am
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9295

Re: SP does not work CS:GO

im not sure at all, but from what ive seen in ida, linux assemblies have much easier readability, basically string 1:1 comparison.. so maybe mb sp already added some offset fixer if the server is running linux? and thats why its working? just curious
by D3CEPTION
Sat Apr 23, 2016 9:17 am
Forum: General Discussion
Topic: SP does not work CS:GO
Replies: 13
Views: 9295

Re: SP does not work CS:GO

server structure changed due to the new mm system, there might have been some internal changes. someone eager could write an offset parser and integrate it @ server init. not sure if this would be in the interested of the devs though

Go to advanced search