-
Content Count
365 -
Joined
-
Last visited
-
Days Won
4
Reputation Activity
-
Litro got a reaction from Luffy in Help me on this Script
1. .arraysize var is not used so i remove it
2. as @@Garr said, so i make it set when npc got started
3. Added rounds setting as requested
//====================ANNOUNCER======================- script Announcer2 -1,{OnGMStart: announce "(BringMeEvent) : A Gamemaster started a Bring Me Event now.",0; sleep 3000; announce "(BringMeEvent) : If you want to join, come at the middle of Prontera",0; .@i = rand( getarraysize(.BringMeItems) ); set getvariableofnpc(.item,"BringMeEvent"), .BringMeItems[.@i]; set getvariableofnpc(.amount,"BringMeEvent"), rand(1,100); set getvariableofnpc(.Round,"BringMeEvent"), 1; enablenpc "BringMeEvent"; announce "(BringMeEvent) : Bring me "+getvariableofnpc(.amount,"BringMeEvent")+"x "+getvariableofnpc(.item,"BringMeEvent"),0; sleep 2000; announce "(BringMeEvent) : Prize: will be TCG and 1x Elite Siege Supply Box",0; sleep 2000; announce "(BringMeEvent) : Hurry Now!.",0; sleep 2000; announce "(BringMeEvent) : GAME STARTED.",0; end;OnGMStop: announce "A Gamemaster has stopped the Bring Me Event",0; disablenpc "BringMeEvent"; end;OnNextRound: .@i = rand( getarraysize(.BringMeItems) ); set getvariableofnpc(.item,"BringMeEvent"), .BringMeItems[.@i]; set getvariableofnpc(.amount,"BringMeEvent"), rand(1,100); announce "(BringMeEvent) : Bring me "+getvariableofnpc(.amount,"BringMeEvent")+"x "+getvariableofnpc(.item,"BringMeEvent"),0; sleep 2000; announce "(BringMeEvent) : Prize: will be TCG and 1x Elite Siege Supply Box",0; sleep 2000; announce "(BringMeEvent) : Hurry Now!.",0; end;OnInit: setarray .BringMeItems[0],501,7227,4001,7005,909,512,714; bindatcmd "startbme",strnpcinfo(3)+"::OnGMStart",90,99; bindatcmd "stopbme",strnpcinfo(3)+"::OnGMStop",90,99; end;}prontera,150,150,0 script BringMeEvent 100,{ if (countitem(.item) < .amount) { mes "You don't have my requirements"; close; } delitem .item, .amount; getitem .p, .a; announce "Yayks! "+strcharinfo(0)+" won the "+.Round+" round event",0; .Round++; if (.Round > .Rounds) disablenpc "BringMeEvent"; else donpcevent "Announcer2::OnNextRound"; end;OnInit: .Rounds = 10; // Set how many round you want here .p = 7227; .a = 5; disablenpc "BringMeEvent"; end;} -
Litro got a reaction from Cabrera in Help with script bonus >.<
try this
1
bonus bAllStats,20;bonus bMaxHP,2*getrefine();bonus bMaxSP,2*getrefine(); 2
bonus bAllStats,15;bonus2 bAddRace,7,getrefine(); 3
bonus bAllStats,30;bonus bSpeedAddRate,10;bonus2 bSubRace,7,getrefine(); nb: you should take look into item_bonus.txt on doc folder
-
Litro reacted to Dastgir in [WIP] TProtect for Ragnarok Servers
Great! Finally a new free game guard
Suggestion: make it send Mac and hardware Id.
-
Litro reacted to Beret in NEMO - Client Patcher
Neo could you add support in NEMO:
Color name:
Digits healing:
Color healing:
-
Litro reacted to Ai4rei in Future of ROCred and RO Patcher Lite
Since there is no further movement in the poll, it concludes with the following result:
There will be a new "tool", that does both patching and launching (most likely RO Patcher Lite Core built atop ROCred UI). Majority of the RPI's floating around (p-server client survey) are plug-ins responsible for managing patch information, skinning and HTML patch news, which will be part of the new application, so there will be no plug-in system/API for the time being. The RO Patcher Lite API will probably be put on ice as well. No further efforts will be put into ROCred anymore, except bug-fixes (or "security patches" as some people love to word it). Thank you everyone who participated.
Update 2015-12-23:
Currently struggling (for a few months now) with one of the most basic things: sockets.
Update 2016-02-21:
Things are finally starting moving. While I still cannot state some ETA, sockets are being actively worked on, basically typing.
Update 2016-09-29:
Sockets are complete, time to put all those puzzle pieces together.
Update 2017-04-15:
The core still needs some work, but it starts to look good.
-
Litro got a reaction from iCORE in [Request] Level Config For Damage, Skill & Status Calc (3Ceam Conf)
Hello, Can some one help me ? i have modified my battle.c, skill,c and status,c it was heavily edited for it, but when i update it yesterday all my work in battle.c was crumbled, yes it was my stupidity by i still have the backup file, here i want to ask help for make it into plugin, i think it was good for private server, for more information i have gathered data from 3ceam
http://3ceam.googlecode.com/svn/trunk/rewrite/conf/battle/skill.conf
// Set this to the max base level that you would like skills to add extra bonus damage from. // [Pinky] // NOTE: Default level is 150, if you set this to a higher level then you will experience higher/overload damage from many 3rd class skills.// NOTE2: If you set this to a lower level then 100 all skills will suffer penalties higer than 100%, causing damages below the minimun damage.max_highlvl_nerf: 150// Set this to the max job level that you would like 3rd class skills to add extra bonus damage from. // [Pinky] // NOTE: Default 3rd class job_level is 50 (official servers), if you set this to a higher level depending on your server's 3rd classes max job level, then you might experience higher/overload damage/effects from 3rd class skills.// This setting only effects 3rd class skills that uses job level as a bonus multiplicator.// 0 = disabledmax_joblvl_nerf: 50 and this code i have used for my own, taken from 3ceam by @Rytech
blvl_nerf = status->get_lv(src); if( sd && ((skill_id >= RK_ENCHANTBLADE && skill_id <= LG_OVERBRAND_PLUSATK) || (skill_id >= RL_GLITTERING_GREED && skill_id <= OB_AKAITSUKI)) && battle_config.max_blvl_nerf && blvl_nerf > battle_config.max_blvl_nerf ) blvl_nerf = battle_config.max_blvl_nerf; t_blvl_nerf = status->get_lv(target); if( sd && ((skill_id >= RK_ENCHANTBLADE && skill_id <= LG_OVERBRAND_PLUSATK) || (skill_id >= RL_GLITTERING_GREED && skill_id <= OB_AKAITSUKI)) && battle_config.max_blvl_nerf && t_blvl_nerf > battle_config.max_blvl_nerf ) t_blvl_nerf = battle_config.max_blvl_nerf; if( sd && ((skill_id >= RK_ENCHANTBLADE && skill_id <= LG_OVERBRAND_PLUSATK) || (skill_id >= RL_GLITTERING_GREED && skill_id <= OB_AKAITSUKI)) && battle_config.max_jlvl_nerf ) jlvl_nerf = min(sd->status.job_level,battle_config.max_jlvl_nerf); else if( sd ) jlvl_nerf = sd->status.job_level; Litro
-
Litro got a reaction from evilpuncker in Get last_mac Address
maybe this can do http://herc.ws/board/topic/1466-ro-credentials-rocred-v191-last-updated-20150108/page-4#entry47642
-
Litro reacted to Dastgir in [Release] ExtendedBG for Hercules (with eAmod BG modes)
Hello Hercules Community,
Let me explain it first.
It is ExtendedBG, which tends to contain all eAmodBG modes and extra modes(as and when coded).
Some Previews:
http://imgur.com/a/2SSVR
Ohh, and the last thing I forgot to tell,
Its 100% Plugin and Script, no Source Edits ..
Special Thanks To:
jaBote co-founded this project(and really thanks to him , that he motivated me at start at provided some functions and idea of how the base should be, and what we should do it to give flavor of Hercules in it).
Repository Link: https://github.com/dastgirp/eBG (Please read README.md for installation steps)
Leave Comments/Suggestions if you find something.
NOTE:
There might be some(/many) debug messages left in map-server which will be cleaned up. I will add battle.conf soon (you have to add it yourself for now or edit the plugin) The plugin might be a big mess to read/understand (I did many experiments over the year) There might be some bugs Thanks to @Rebel and @Myriad for testing and providing initial feedback
Contact me on Discord: @Dastgir#1460 if there's some urgent issue or else open the issue in github. keep this topic for support.
Want to encourage me??
-
Litro reacted to mleo1 in [Release] ExtendedBG for Hercules (with eAmod BG modes)
I can't wait to leech
-
Litro reacted to jaBote in Hercules Ultimate Localization Design
Please remember any .pot files are not for smoking. We at Hercules are always concerned for your health. (Joke based on one Jman told in IRC)
-
Litro reacted to Dastgir in Plugin Collections
Updated afk to v1.3
Now Supports afk_timeout , no afk on dead, and noafk MAPFLAGS
https://github.com/dastgir/HPM-Plugins/commit/42e8623eb92f16b2a9bdf945abbbb771d4531b65
Battle Config Adjustment:You can add "afk_timeout: seconds" in any of the files in conf/battle/ to make it work(so you don't have to recompile everytime you want to change timeout seconds)MapFlags:Add mapflag just like you add other mapflags,e.g:prontera mapflag noafk^ Add Above to any script, and it will make prontera to be noafk zone.
Mhalicot should update it soon(Considering he is active on the community).
-
Litro reacted to Dastgir in Plugin Collections
Hello Community,
I am feeling like, there's many plugin on forum, but not been actively used, due to out-of-date plugin
I have updated Shikazu's Plugin first(as it was requested on the thread from 25th April), maybe Shikazu busy on his rl.
Also I have included My Plugins there.
I would like to add more plugins there(which are not updated on hercules forum <- please suggest if you find some outdated plugin and want me to update it )
List of Plugins and Owners:
https://github.com/dastgir/HPM-Plugins/blob/master/README.md
Repository: https://github.com/dastgir/HPM-Plugins
Thanks.
-
Litro reacted to goddameit in Online Gaming Time
Preview:
http://goo.gl/GUwpM5
Info: Tell you how long you're online.
Download:
script - http://pastebin.com/gYVYqgpF
sql - http://pastebin.com/HTL3wEhz
-
Litro reacted to Dastgir in Restock System
File Name: Restock System
File Submitter: Dastgir
File Submitted: 10 Jan 2015
File Category: Plugins
It is a restock system(which I apparently made 5-6 months ago) [Also its a Plugin - Yay]
So I am just releasing it, as I feel its been useful for many servers.
Though there can be some optimizations on script-side(will be applied later on).
You need to enable plugin as well as script provided in the download.
2 commands:
@restock - Enables/Disables Restock System
@restock2 - To Add/Remove item
Usage:@restock2 <itemid> <quantity> <type1> <type2>Type 1:1 = Storage2 = GStorageType 2:1 = Add2 = Remove3 = Help4 = List5 = Empty The List@restock2 x y z 3 For Help@restock2 x y z 4 For Current Restocking List@restock2 x y z 5 For Removing All Items From Restockx,y,z Can be any number, e.g: @restock2 0 0 0 3 will give you help option,@restock2 x y z 5 will Empty your list
It Support Restocking of All Kinds of Item.
Click here to download this file
-
Litro got a reaction from u niver X in King Poring Recolor - First Time Recoloring
Hi everyone.. here my first time sprite recoloring work
UPDATE:
- Fix Die animation Recolor-king_poring.7z
- adding King Ghostring
-
Litro got a reaction from Hadeszeus in Ask for help with this Status Ailment
Just change the tick deff part and disable tick deff2 part, it should be like this
case SC_DEEP_SLEEP: sc_def = bst->int_*50; tick_def = bst->int_ *20; // Linear reduction instead //tick_def2 = bst->int_ * 50 + SCDEF_LVL_CAP(bl, 150) * 50; // kRO balance update lists this formula break; sc_def is resistance part, tick_def is timer part, tick_def2 is timer part to but taken to calculation after tick deff has been calculated, SCDEF_LVL_CAP(bl, 150) * 50 is comparison level caster and target (not sure how it work get @Playtester or other member who have knowledge to explain it to you)
-
Litro got a reaction from Takumirai in Run or Die by AnnieRuru
Try it
prontera,146,231,5 script Run Or Die 100,{ if (!.start) { mes "Check Schedule NPC, Event is Offline."; close; } if (.start == 2) { mes "Event in Progress.."; close; } if (.register_count >= .register_limit) { mes "this event has reach the maximum player participations"; close; } percentheal 100,100; warp .map$, 104,103; .register_aid[.register_count] = getcharid(3); .register_count++; end;OnCommand:// put all your start timer hereOnClock0500:OnClock1100:OnClock1700:OnClock2300: if (.start) end; announce "Run or Die event registration start", bc_all; .start = 1; for (.@c = 3; .@c > 0; .@c--) { announce "Run or Die event registration is open in "+.@c+" minute", bc_all; sleep 60000; } announce "Run or Die event registration close", bc_all; .start = 2; sleep 3000; mapannounce .map$, "Survive as long as you can !", bc_map; if (.register_count < .register_min) { announce "Not enough participants for Run or Die event", 0; getmapxy .@map$, .@x, .@y, 1; mapwarp .map$, .@map$, .@x, .@y; callsub L_reset; end; } while (.register_count > 1) { monster .map$, 0,0, "Come On Baby!!!", 1904, 5 + rand(5), "", 0; monster .map$, 0,0, "Come On Baby!!!", 1904, 5 + rand(5), "", 1; monster .map$, 0,0, "Come On Baby!!!", 1904, 5 + rand(5), "", 2; sleep 5000; } killmonsterall .map$; announce "Congratulations ~ the winner of Run Or Die event is "+ rid2name( .register_aid ), bc_all; getitem .reward_item_id, .reward_item_amount, .register_aid; // winner prize warpchar "SavePoint", 0,0, getcharid( 0, rid2name( .register_aid ) ); callsub L_reset; end;OnPCDieEvent:OnPCLogoutEvent: if ( !.start || strcharinfo(3) != .map$ ) end; while (.@i < .register_count && .register_aid[.@i] != getcharid(3)) .@i++; if ( .@i == .register_count ) end; deletearray .register_aid[.@i], 1; .register_count--; warp "SavePoint", 0,0; end; L_reset: deletearray .register_aid; .start = .register_count = 0; return;OnInit: waitingroom "Run or Die",0; .map$ = "poring_w01"; .register_min = 2; // minimum amount of players to start this event, or else it auto-abort .register_limit = 100; // maximum amount of players able to participate in this event .reward_item_id = 30802; // reward item id .reward_item_amount = 1; // reward item amount to the sole winner bindatcmd "runordie", strnpcinfo(0)+"::OnCommand", 99,99; end;}poring_w01 mapflag nosave SavePointporing_w01 mapflag nowarpporing_w01 mapflag nowarptoporing_w01 mapflag noteleportporing_w01 mapflag nomemoporing_w01 mapflag nopenaltyporing_w01 mapflag noicewallporing_w01 mapflag nobranchporing_w01 mapflag noskill -
Litro got a reaction from Zirius in How to create shortcut to Thor patcher that will always make it run as Admin?
make manifest file if im remember it right http://msdn.microsoft.com/en-us/library/bb756929.aspx, i have lost my file for the tutorial maybe other can help you when they see this
-
Litro reacted to GmOcean in Fakename /[TAG]
I see, well I'll take a look at them later, and I'll see if I can port them to Hercules so you can make use of it.
Edit:
Okay, so I took a look at them, and it seems they could easily be converted to Hercules, however i'm not 100% sure if it'll work. And if it does work, you'll still have the same issues as Digos posted when he released the whisper patch. That is, if someone uses @fakename to disguise their name as an existing player name, they won't be PM-able since it checks for real names first then fake names.
Also last thing of note is, I could make a diff for the changes, but I'm too dumb to make them plugins xD. I don't know how to do the pre/post hooking yet.
-
Litro reacted to GmOcean in Scripting Tutorials & Guides
Scripting Tutorials and Guides
I'm going to attempt to help everyone here with their scripts while not being directly involved in helping you with them xD.
This will also help future/current scripters get some fresh info and maybe inspire innovative ideas towards scripting.
So that we can prove that us " Scripters " are the superior ragnarok emulation race! Take that Source Code writers!! Jk lol, we need you too .
What I'm going to do, is write detailed tutorials on how to write a few scripts. Starting from the basics to more advanced scripts.
This way everyone can follow along. And hopefully this will help everyone understand how to write a few scripts and even troubleshoot their own scripts.
Also please read: Scripting Standards.
It will help you understand how to read some of the syntax and way people script things.
// A list of <sprite id>s can be found here: Sprite_IDs Credits: Ai4rei
Scripting Tutorials & Guides
In this section you will learn how to write scripts ranging from Complete Begginer Level Scripts ( Me and Some of you ) -> Expert Level Scripts ( Think, Developer Status O.o; )
- Beginner Scripts -
Scripts for complete beginners and novice scripters.
- Intermediate Scripts -
Scripts for intermediate level scripters. If you completed my beginner script series, then you are ready for this section.
- Advanced Scripts -
Scripts for advanced level scripters. If you completed my intermediate script series and have made a few of your own intermediate scripts, then you are ready for this section.
The idea behind this topic, is for new users, and current ones, to have a (second)place they can go to for reference when trying to write a script if they can't figure it out with script_commands.txt file. It will also help people learn how to write scripts. While hopefully, keeping script writing techniques to a ' very ' similar structure!
*Read Me* - I have updated the links on this post to link to the oldboard so these guides can be viewed. However, do note that the script_commands.txt links within those guides are no longer accurate. Enjoy your scripting.
-
Litro got a reaction from Hadeszeus in How to adjust STAT requirements for Status effect?
case SC_STUN: sc_def = st->vit*100; sc_def2 = st->luk*10 + SCDEF_LVL_DIFF(bl, src, 99, 10); tick_def2 = st->luk*10; Percentual resistance: 10000 = 100% Resist <- from the code sc_def = st->vit*100; mean you will need 100 vit to fully resist stun -
Litro got a reaction from estoudegreve in King Poring Recolor - First Time Recoloring
Hi everyone.. here my first time sprite recoloring work
UPDATE:
- Fix Die animation Recolor-king_poring.7z
- adding King Ghostring
-
Litro got a reaction from karazu in [request] @maintenance Command?
where is the fan base, i have to be registered asap
-
Litro got a reaction from hikarizu in King Poring Recolor - First Time Recoloring
Hi everyone.. here my first time sprite recoloring work
UPDATE:
- Fix Die animation Recolor-king_poring.7z
- adding King Ghostring
-
Litro got a reaction from Aurora in King Poring Recolor - First Time Recoloring
Hi everyone.. here my first time sprite recoloring work
UPDATE:
- Fix Die animation Recolor-king_poring.7z
- adding King Ghostring