RodRich
-
Content Count
38 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
RodRich reacted to Reaper_san in How to edit the world map ?
see the luafiles, "worldviewdata"
it is easy to edit these files
just read it
in worldviewdata_list.lua you can edit the bmp files (the maps you can see)
in worldviewdata_language.lua you can edit the names en the map
in worldviewdata_table.lub you can edit the "boxes" and his "menu" in the map
I hope this helps
-
RodRich got a reaction from kyeme in dispbottomcolor
Hey guys!!
I'm bringin here, the source modification I wanted:
a guy from the Cronus board made this,
It's will change the default dispbottom to a dispbottom color, with a optional parameter!!
Example:
dispbottom "Hello everyone!!"; //Displays a message on default color dispbottom "I wanted this so bad!",0xFF1493 //Displays a pink message Link to patch
I don't know if you can apply dis .patch in your Hercules emulator, I think you should apply this manually!!
**Sorry for my english!!
And thanks AnnieRuru, the SlexFire (who made's this modification) has wrote credits to you!!
-
RodRich reacted to AnnieRuru in dispbottomcolor
since our developers are ... not implementing dispbottom and message with colors
http://herc.ws/board/topic/3899-suggestion-displaybottom-message-colors/?p=28345
I think I just make a release for this
Download: 1.2
Plugin
tested with
prontera,162,180,5 script asdf 100,{ dispbottomcolor "test color", 0xFF0000; dispbottomcolor "test color", 0x00FF00; dispbottomcolor "test color", 0x0000FF; dispbottomcolor "test color", 0xFFFFFF, 2000000; end;}PS: there is a reason that this couldn't be in the officialbecause hercules' clif->colormes is ... badly coded ...
changing that function also means change a lot of lines having clif->colormes, which is all over the places
-
RodRich got a reaction from Ricauter in R> command when killing monsters
That's true, I hadn't thought this way!! that's better than before. But I don't know why, the other one isn't working. It should work in both ways!!
The first one checks the monster name's, and the second one checks the monster ID's
But..
-
RodRich reacted to Ricauter in R> command when killing monsters
was testing around, there was a mistake on the script, actually:
if(getmonsterinfo(killedrid,0)==getmonsterinfo(1008,0)) doesn't work at all, so any monster you'd kill would increase the counter, the real script is like this:
if(killedrid==1002) // and replace the 1002 for any monster ID that way, only the monster ID you choose would increase the counter.
-
RodRich got a reaction from Ricauter in R> command when killing monsters
Hahah, no problem!!
Hey, I've just saw this line, it can bring you problem:
set f1ks,f1ks=0; test in your npc, if this doesn't give error, just forgot... but If does, do this way:
set f1ks,0; -
RodRich got a reaction from Ricauter in R> command when killing monsters
@@Ricauter
That's because you didn't closed the "()"
copy and paste :
- script test1 -1,{ OnNPCKillEvent: set .@map$, "prontera"; if(strcharinfo(3)==.@map$){ if(getmonsterinfo(killedrid,0)==getmonsterinfo(1008,0)){ // PLEASE THIS WAY IS THE RIGHT WAY DON'T CHANGE AGAIN '-' set f1ks,f1ks +1;// to count +1 kills; announce "PORINGS KILLED +1 ["+ f1ks +"/5]",3; } if (f1ks >= 5){ set f1ks,f1ks=0; //to reset the counter and buff sc_start 10, 240000,10; }}end;} -
RodRich got a reaction from Ricauter in R> command when killing monsters
Ah ok, because when you get errer from first line, the npc isn't readed.
I think your error is case sensitive:
-<tab>Script<tab>test1<tab>-1,{ try:
-<tab>script<tab>test1<tab>-1,{ -
RodRich got a reaction from Ricauter in R> command when killing monsters
Ah ok, that simple either!!
You can do this way:
OnNPCKillEvent:if(strcharinfo(3)== 'map'){if(getmonsterinfo(killedrid,0) == 'monstername'){ set mymobkills,mymobkills +1;// to count +1 kills }} if (mymobkills > 99){ set mymobkills,0; //to reset the counter and buff? sc_start 39, 60,5; getitem,-1,1;}end; where -1 means: a random item from OBB..
or if you preffer you can also use: -2,-3,-4,-5
Giving an item ID of -2 will produce the effects of Old Violet Box.
Giving an item ID of -3 will produce the effects of Old Card Album.
Giving an item ID of -4 will produce the effects of Gift Box.
Giving an item ID of -5 will produce the effects of Worn Out Scroll, which, in current SVN, drops only Jellopies anyway.