Just why? After looking through a lot of these scripts it seems to me like there needs to be a lot more standardization before the mod can be truly called 'stable' for developers.

EDIT: Is this just AMK? After looking after the dialogue files it looks like you can't actually specify any arguments, and that looks like why it was like this.

lol, do you want to fix some mission scripts? we have a few of them you could fix!!!

Yes, actually. I learned my Lua from Garry's Mod, but after looking through quite a bit of this game it seems like there are some weird additions to the language that certainly don't seem needed. Like this:

Classes in lua? How odd! Especially when you have metatables. It seems that xrLua.dll also has all the luajit debugging stuff so that's nice.

Last edited by rusty_shackleford on Sun 23 Jul 2017 - 7:23; edited 1 time in total

TecnoBaconAdministrator

Posts : 62Join date : 2017-06-01Location : USA

Subject: Re: LUA related issues Sat 22 Jul 2017 - 22:11

absolutely as that is how to bind interrupts to objects with the engineI have 14 years of LUA programming as well as experience in all languages as I started programming 40+ years ago...

TecnoBaconAdministrator

Posts : 62Join date : 2017-06-01Location : USA

Subject: Re: LUA related issues Sat 22 Jul 2017 - 22:14

There will be some huge changes to the scripts when I release the new xray engine as many of these calls can be optimized along with 64 bit 12 cores new physics and direct x engines, etc...

_Nite_Veteran

Posts : 398Join date : 2017-07-13Location : USA

Subject: Re: LUA related issues Sun 23 Jul 2017 - 0:26

64 bit support will be so nice, the mod is great but keep having memory related crashes because of the 32 bit limit

rusty_shacklefordExperienced

Posts : 64Join date : 2017-07-17Location : California

Subject: Re: LUA related issues Sun 23 Jul 2017 - 3:15

I'm not quite as experienced as yourself, but I like to think that I know my way around Lua and a bit of C++. Most of my knowledge is from game hacking on Source and messing about in Garry's Mod for the past 8 years. I would most definitely be interested in learning more about Lua in Xray if you have any resources on that.

Thanks for changing the thread title, it is much better now. Not quite as snarky.

Last edited by rusty_shackleford on Sun 23 Jul 2017 - 7:26; edited 1 time in total

Steve90kModerator

Posts : 156Join date : 2017-06-02

Subject: Re: LUA related issues Sun 23 Jul 2017 - 4:19

Oh, there half a billion tons of resources!!!

some of them are esy to find, some of them less so.

Many of the originally modding knowledge was shared on the old GSC forums. The problem with the GSC forums (and many other Stalker forums) is that there is so much content, you dont know where to start!!!

I think the GSC forums go into 392049 posts... and thats for Call of Chernobal alone!!!

It would take years to go through all those posts and extract the useful modding information.

I'm worried actually, becuase if GSC decide to shut down their forum, We would lose some really important content. I just dont have the time to do it myself.

Come to thunk of it. if anyone knows how to "site-rip" the GSC forums, please tell me (or help me to do it) I tried with a few site ripping programs once, but it ws so messed up, the end result was useless.

on another noe, the first port of call for modding is the wiki. It was based on the GSC forum information, but a great deal of the original information is missing...

One other thing to take note of is Alundios tutorials for COC, which is based on Call of Pripyat.Shadow of chernobal and call of pripyat are built in slightly different ways, but having this knowledge is quite useful..

Some of Alundios tutorials are quite good, particularly for quest creation, modifications and fixes.

Come to thunk of it. if anyone knows how to "site-rip" the GSC forums, please tell me (or help me to do it) I tried with a few site ripping programs once, but it ws so messed up, the end result was useless.

You can use burp to crawl the pages, then use archive.is (which I think has an api, not sure) to archive pages. I think burp might also have a way to progressively save files that it crawls.

It's a function call so it needs to be a semi-colon not a period. Periods are for referencing elements of a table. If self was a table and it contained a function called stop, you'd be able to call it in that manner.

TecnoBaconAdministrator

Posts : 62Join date : 2017-06-01Location : USA

Subject: Re: LUA related issues Sun 23 Jul 2017 - 23:54

I do that to specifically crash the engine and not to invoke the stop function