Search found 7 matches

by KUDr
Wed Nov 27, 2019 1:04 pm
Forum: Modding discussion
Topic: Breaking change/fix: script.raise_event rework - opinions wanted
Replies: 88
Views: 25653

Re: Breaking change/fix: script.raise_event rework - opinions wanted

However, there are a few points mentioned by others that I would like to see there too: 1. Events received from other mods should be distinguishable as such. For example a special field in the event table called mod_name (string) added automatically by the game. So the first mention of this was not...
by KUDr
Wed Nov 27, 2019 9:40 am
Forum: Modding discussion
Topic: Breaking change/fix: script.raise_event rework - opinions wanted
Replies: 88
Views: 25653

Re: Breaking change/fix: script.raise_event rework - opinions wanted

People seem to be misunderstanding how the entire Lua API works... which Isn't too difficult to do since none of you can see it. ... I've written the function that would have to be used to do that validation just for this example. Note the function isn't actually complete because there are parts th...
by KUDr
Mon Nov 25, 2019 11:05 pm
Forum: Modding discussion
Topic: Breaking change/fix: script.raise_event rework - opinions wanted
Replies: 88
Views: 25653

Re: Breaking change/fix: script.raise_event rework - opinions wanted

And all of that assumes you allow all events to be raised. Any event you don't allow reduces both the 12'000 lines of code to check, lua binding and the switch/case. What I tried to say is that it would be much less if done properly. For each event you need one line of code per argument for switch ...
by KUDr
Mon Nov 18, 2019 3:27 pm
Forum: Modding discussion
Topic: Breaking change/fix: script.raise_event rework - opinions wanted
Replies: 88
Views: 25653

Re: Breaking change/fix: script.raise_event rework - opinions wanted

I was thinking about what it would take to check everything passed through rase_event and it's just not a task that I think any sane human would want to sign up for. There are currently 144 events. The checks for all of them on the C++ side is around 3000 lines of code and that's not counting all o...
by KUDr
Fri Jan 19, 2018 10:43 pm
Forum: This Forum
Topic: I can't answer to the PM I got today
Replies: 2
Views: 1633

Re: I can't answer to the PM I got today

Indeed, now it works, thanks!
by KUDr
Fri Jan 19, 2018 10:07 pm
Forum: This Forum
Topic: I can't answer to the PM I got today
Replies: 2
Views: 1633

I can't answer to the PM I got today

Hello, today I got PM from a former colleague (Tekky) asking me if it is me (he recognized me by my nick). I would like to answer him, but I can't PM (probably anti-spam feature). I don't have any other contact information to him, so I would like to ask you, if you can allow me to send PMs. From the...

Go to advanced search