TheRisingSWG

Discuss galaxy specific issues.

Moderator: Forum Moderator

zombienerd
Novice Crafter
Posts: 5
Joined: Fri Sep 30, 2016 3:06 pm

Re: TheRisingSWG

Post by zombienerd »

c0pp3r, would you mind sharing the code or method you used to parse the LUA into CSV? I have been looking for something like this for weeks!
c0pp3r
Novice Crafter
Posts: 13
Joined: Wed Jun 15, 2016 11:23 am

Re: TheRisingSWG

Post by c0pp3r »

Absolutely! I have it on our github repo.
https://github.com/c0pp3r/The_Rising

It ended up in 2 commits because I had to do some experimenting but here is the final version of the file.

https://github.com/c0pp3r/The_Rising/bl ... pawner.cpp


If you have any questions let me know. I go by cesta on our website if I don't respond here.
zombienerd
Novice Crafter
Posts: 5
Joined: Fri Sep 30, 2016 3:06 pm

Re: TheRisingSWG

Post by zombienerd »

So this is a modification to the server software itself, correct? This has the server do the work to spit out the CSV file? I'm guessing I just copy that file over, click build in Yoda, and it will do it automatically at a set interval?
c0pp3r
Novice Crafter
Posts: 13
Joined: Wed Jun 15, 2016 11:23 am

Re: TheRisingSWG

Post by c0pp3r »

So yes, basically whenever the writeresoucestoscript function is executed it writes it out to that csv file you saw in addition to writing the changes to the lua (but only for inspawn resources, the lua stores ALL resources). You can trigger this event manually from and admin character by executing /resource dump in game
c0pp3r
Novice Crafter
Posts: 13
Joined: Wed Jun 15, 2016 11:23 am

Re: TheRisingSWG

Post by c0pp3r »

Is sobuno back yet? Would love to get this fully automated :)
zombienerd
Novice Crafter
Posts: 5
Joined: Fri Sep 30, 2016 3:06 pm

Re: TheRisingSWG

Post by zombienerd »

I'm not seeing what file it writes to. Where is the CSV located after generation?
c0pp3r
Novice Crafter
Posts: 13
Joined: Wed Jun 15, 2016 11:23 am

Re: TheRisingSWG

Post by c0pp3r »

The file should be located in the Core3/MMOCoreORB/bin/scripts/managers folder.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest