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 » Fri Sep 30, 2016 4:12 pm

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 » Fri Sep 30, 2016 9:06 pm

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 » Sat Oct 01, 2016 3:20 pm

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 » Sat Oct 01, 2016 11:42 pm

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 » Sun Oct 02, 2016 4:13 am

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 » Mon Oct 03, 2016 3:49 pm

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 » Mon Oct 03, 2016 4:07 pm

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