Reward Screenplay

drdax

Member
Joined
Jun 11, 2015
Messages
133
Hello,

Talking to another server player, their server had a custom screenplay for rewards a couple months back. It had a NPC spawned at a major city, it would check the to see if a player's account is eligible and then list their rewards. Also if not eligible by account age or previously claiming the reward, a polite message explained the eligibility rules.

Does someone know what server that was and how I can contact them?

Thanks, DrDax
 

Viaron

Member
Joined
Jul 13, 2012
Messages
189
That just sounds like a modified version of the Veteran Rewards System. It's currently live on Basilisk and implemented into Core3.
 

drdax

Member
Joined
Jun 11, 2015
Messages
133
ok thanks Viaron, I was hoping to create a screenplay with an iconic NPC (as part of longer quest I want to create). I tried the Bas server /claim and it is not working .. I will check out Nova and the code base.

I also found this example as well, it validates room in a player's inventory: http://www.swgemu.com/forums/showthread.php?t=137795

Until then, if anyone has something to share, even if it isn't quite the same, I would appreciate it.
 

tatwi

Member
Joined
May 31, 2012
Messages
66
Tarkin had a couple screenplays like this. I still have my copy the scripts on my github, so you can fart around there and see if you find what you are looking for. It might be one of these (created by Liahara I believe),

https://github.com/Tatwi/tarkin_scripts/blob/Development/scripts/screenplays/tests/anniversary_2year.lua

https://github.com/Tatwi/tarkin_scripts/blob/Development/scripts/screenplays/tests/painting_vendor.lua

The key feature you are looking is the quest states aspect, which are fairly easy to use once you follow it. A guide for that is here,

http://www.swgemu.com/forums/showthread.php?t=61881&p=475780&viewfull=1#post475780

Before Tarkin shut down I was working on a new player festival for which I made a "bread crumb" quest framework for myself. It uses a simple quest state (Are you ON the quest? Reset to No when quest is done, so you can do it again) that might help you. It's in my ill fated newPlayerQuest branch here,

https://github.com/Tatwi/tarkin_scripts/blob/newPlayerQuest/scripts/screenplays/tarkin_newplayer/civic_inspector.lua

As always, you're welcome to use any code/concepts shared. Hope that helps you!

Ps. My Crazy Larry guide... I've learned quite a bit since then. Have a look at my current NPC Merchant code I am working on,

https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/screenplays/hondo/merchants/testosio.lua

As the name Testosio implies, this is a work in progress for a conversation driven simple merchant system that can be used for both story telling and acting as vendors do in other games.
 

drdax

Member
Joined
Jun 11, 2015
Messages
133
tatwi said:
Tarkin had a couple screenplays like this. I still have my copy the scripts on my github, so you can fart around there and see if you find what you are looking for. It might be one of these (created by Liahara I believe),
Thanks bud! this place is so helpful!

PS: Nice WIP on the Merchant script

Dax
 

tatwi

Member
Joined
May 31, 2012
Messages
66
drdax said:
tatwi said:
Tarkin had a couple screenplays like this. I still have my copy the scripts on my github, so you can fart around there and see if you find what you are looking for. It might be one of these (created by Liahara I believe),
Thanks bud! this place is so helpful!

PS: Nice WIP on the Merchant script

Dax
Thanks. I finished up the functionality of the script last night. You can view it here,

https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/screenplays/hondo/merchants/testosio.lua

If you want to make one guy who sells stuff, that'll do it for you. Keep in mind it is called by a custom character who has his own unique conversation file as well.

https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/mobile/hondo/merchants/testosio.lua
https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/mobile/conversations/hondo/merchants/testosio_conv.lua

The next step in my adventure is to put that functionality into a generic framework, such that each merchant's script is little more than the list of what he sells and his friends/enemies (and his unique conversation/mobile files too).
 

drdax

Member
Joined
Jun 11, 2015
Messages
133
tatwi said:
drdax said:
tatwi said:
Tarkin had a couple screenplays like this. I still have my copy the scripts on my github, so you can fart around there and see if you find what you are looking for. It might be one of these (created by Liahara I believe),
Thanks bud! this place is so helpful!

PS: Nice WIP on the Merchant script

Dax
Thanks. I finished up the functionality of the script last night. You can view it here,

https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/screenplays/hondo/merchants/testosio.lua

If you want to make one guy who sells stuff, that'll do it for you. Keep in mind it is called by a custom character who has his own unique conversation file as well.

https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/mobile/hondo/merchants/testosio.lua
https://github.com/Tatwi/legend-of-hondo/blob/merchants/MMOCoreORB/bin/scripts/mobile/conversations/hondo/merchants/testosio_conv.lua

The next step in my adventure is to put that functionality into a generic framework, such that each merchant's script is little more than the list of what he sells and his friends/enemies (and his unique conversation/mobile files too).
Again, thanks so much and great work.
 
Top Bottom