Habilis

[Dev's Diary] Minimal $ Ragnarok online server & comunity

28 posts in this topic

Posted (edited)

Day 9.5 : Scripting challenge....

Now it is time to script some...

So, I wrote a daily rewards script and integrated everything and here is how it looks like in game:

 

Spoiler

B9wU79G.jpg

Sorry about blur, there is the real name of the server, didn't want to waste time and create 28 cutins with HabilisRO on them....

Anyways, some people may say these are crappy prizes. Well, tell you what... This server is considered a low rate server. Besides, all a player have to do to get them, is just login.....

Even Habilis can do that!

Took adv. Stylist npc from Downloads and modified it to be sort of a quest ... 

Spoiler

pczsumA.jpg

 

Also added a healer (just heal with 60 sec delay) <- classic

One more thing, took this pretty map 

 

and created a vending zone

Spoiler

OBRy0zr.jpg

xd9F6BM.jpg

So, this is basically a vending zone, to assemble all vendors in one area

I'm not expecting many players, so this should be big enough.

Continuing the work ....

 

 

Edited by Habilis

Share this post


Link to post
Share on other sites

Posted (edited)

Day 10 : Scripting marathon continues..

 

I went to download section and downloaded some more scripts of events to integrate them with this server.

And then I though why not fully automate them?

So I asked aroud about randomizing things...

So, Big Special THANKS to @Z3R0 and @Dastgir for giving me this code

OnClock1800:
initnpctimer();
.@currentMinute = 0;
.@startMinute = rand(1,30);
end;

OnTimer60000:
setnpctimer(0);
.@currentMinute += 1;
if (.@startMinute == .@currentMinute) {
  stopnpctimer();
  doevent;
}

What I wanted to do Is create an AutomaticEventController

A controller that would automatically and randomly start and end events over a day.

and to have the starting time randomly picked within 30 minutes from planned time

(I wanted this to frustrate my players even more! *trollface*)

So far, I have 4 automatic events (available here in download section)

I'm not the author of this scripts, each script has an author. You may find their authors by browsing in Downloads section. However, there is a big thanks from me for releasing wonderful scripts!

- Treasure hunt (pry open treasure chests, some of them are empty to find those containing a treasure) 

Spoiler

XN0KLN4.jpg

vsftTqm.jpg

- Goblin Invasion (need to defeat X number invaders and then invader Leader spawns)

Spoiler

wrrnWpI.jpg

 

wcmqUEI.jpg

 

9DWTo2h.jpg

 

- Poring Count event (just count porings in the fence)

Spoiler

Bg7EENv.jpg

- Slot Machine (With free spins.. 

Spoiler

uJw3aCC.jpg

2 free spins,

U06DeWj.jpg

after out of free spins need to pay...)

2uxaiM0.jpg

How it works:

- AutomaticEventsController at specified time runs a version of code given to me [email protected] and @Dastgir

to determine a real random time of event, It checks for WOE, no auto events on WOE...

- AutomaticEventsController Picks randomly an event script name from Array of string and calls OnEventStart on that script

- Every Automatic event script "Implements" an Imaginary Interface AutomaticEvent with 2 methods OnEventStart OnEventTimeOut (OOP stuff.....)

(basically every Automatic event MUST have those 2 methods Because Controller calls on them)

The rest of implementation is up to the event class script...

 

So far,  I have 4, but I actively browse downloads section for more scripts to integrate to my Automatic events!

 

Edited by Habilis

Share this post


Link to post
Share on other sites

Day 11: Done some more NPC work..

- added Vampire bal  (From downloadfs section) event to My AutoEvent Controller

Spoiler

kfofrSJ.jpg

JZjduFx.jpg

 

don't joke around with lady vampire...

0K6ysay.jpg

 

basicallyically as described in the downloads section.. (A pvp event)

w89dBA6.jpg

 

 
2

 

- added Poring Catcher event from the Downloads section

Spoiler

6LU9GlT.jpg

 

5Ltpdwu.jpg

 
 

 

Since it is a hardcore LowRate server x8.....

And Novices appear in the outskirts of Prontera with no money and no clothes (Just Like Habilis when he goes to Las Vegas....) 

I've decided to make a Welcomer NPC

Spoiler

aweyaWR.jpg

Basically an NPC that is going couple newcomers brain with some information about the game (Most of it is ported with slight modification form Renewal tutorial...)

 

MEgYZke.jpg

 

vkWbYi0.jpg

 

IVEGwT8.jpg

 

A48rbH8.jpg

 

 

eS82fkS.jpg

 

 

zi9Fx6w.jpg

 

 

gJdXmNM.jpg

 

 

Y3J8Hbj.jpg

 

 

 

I also made a simple PVP arena, with this cute assassin girl NPC

I had do do the CUTIN myself...

Spoiler

GfvOUXe.jpg

 

The official one is not as... erotic...

Curious fact : the original Assassin girl on cutin is wearing a Creator or LordKnight skirt ? bYjKUBP.png (Censored?)

job_black_hucke01.gif

 

Part 2 : Plugin work

Implemented my favourite @commands (So much appreciated by Russian RO comunity)

I even turned them into Hercules plugins and released here:

 

I also integrated all of the Dastgir's plugins, Thank you very much!!

 

@aura is awesome!

I disabled aura at max levels...

Spoiler

When character of 1 or 2 or trans reaches max level, Aura is obtained through quest from him

seU8YRG.jpg

 

But good thing you can choose your aura...

e30WnLL.jpg

 

 

 

 

Edited by Habilis

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now