Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: ampreeT
Forum: Scripting 04-10-2020, 05:10
Replies: 20
Views: 6,115
Posted By ampreeT
Re: Restoring entities from invalid single-player global states

Sorry for the long response time! I have not got around to checking/debugging those crashes. AlienMario and I have been working on the project for a bit now and its on github at...
Forum: Scripting 01-05-2020, 02:45
Replies: 20
Views: 6,115
Posted By ampreeT
Re: Restoring entities from invalid single-player global states

I haven't worked on it in a while as I've been busy but I'm sure at the moment my gamedata for my plugin is outdated with the new xen update. If you are using stripper source, you should have a...
Forum: Scripting 11-23-2019, 21:16
Replies: 7
Views: 2,063
Posted By ampreeT
Re: Dereference inside plugin

Address pAddressToRead = view_as<Address>(view_as<int>(GetEntityAddress(iEntityIndex)) + iYourOffset);
int iValue = LoadFromAddress(pAddressToRead, NumberType_Int32);

...
Forum: Scripting 11-19-2019, 18:15
Replies: 20
Views: 6,115
Posted By ampreeT
Re: Restoring entities from invalid single-player global states

Use the preprocessor "#pragma dynamic 2097152" before defining your OnLevelInit callback. I think it increases the stack size but I didn't look too much into it. Some other sources use a different...
Forum: Scripting 11-19-2019, 11:51
Replies: 20
Views: 6,115
Posted By ampreeT
Re: Restoring entities from invalid single-player global states

So I've got back around working with OnLevelInit and I'm now currently parsing through the bsp with no problem! I'm now able to strip the global-names from entities which entirely fixes my problem...
Forum: Scripting 11-08-2019, 23:49
Replies: 20
Views: 6,115
Posted By ampreeT
Re: Restoring entities from invalid single-player global states

I'm pretty sure that crash is related to the scientists lol. I remember going into that exact area and it would crash consistently without me touching the sentries. Try going back onto that map and...
Forum: Scripting 11-08-2019, 01:18
Replies: 20
Views: 6,115
Posted By ampreeT
Re: Restoring entities from invalid single-player global states

In my project so far, I fixed the scientists crashing on getting scared / spotting a enemy, npcs' unable to shoot, properly setting the pre-disaster globalstates per map, re-enabling flashlight...
Forum: Scripting 10-08-2019, 23:54
Replies: 20
Views: 6,115
Posted By ampreeT
Restoring entities from invalid single-player global states

I've been creating a cooperative plugin for Black Mesa and the single-player campaign makes extensive use of global states ( datamap variable "m_iGlobalName" or keyvalue "globalname" ) for...
Showing results 1 to 8 of 8

 
Forum Jump

All times are GMT -4. The time now is 00:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode