-
Posts
170 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by FelipeMartins
-
-
This script is to disconect dual account when trying to participate the same event, live pvp o BG
It's activating with anyone with differents accounts!
- script catchDual -1,{ OnCatch: mes "[^010849===^000000 ^016B14Anti DC^000000 ^010849===^000000]"; atcommand "@battleignore"; sleep2 1000; mes "Catch you!"; sleep2 1000; atcommand "@kick "+strcharinfo(0); close2; end; OnPCLoadMapEvent: if( strcharinfo(3) == strnpcinfo(4) ) { set .@safadaum, 0; set .@invokeid, getcharid(3); query_sql("SELECT account_id FROM `login` where last_unique_id = (SELECT last_unique_id FROM `login` WHERE account_id = '"+getcharid(3)+"')",.@account_id); detachrid; for(set .@i, 0; .@i < getarraysize(.@account_id); set .@i, .@i + 1) { if( .@account_id[.@i] && attachrid(.@account_id[.@i]) && .@account_id[.@i] != .@invokeid) if( strcharinfo(3) == strnpcinfo(4) ) { set .@safadaum, 1; detachrid; break; } } if( attachrid(.@invokeid) ) if( .@safadaum ) { attachrid(.@invokeid); goto OnCatch;} } end; OnInit: setmapflag strnpcinfo(4), mf_loadevent; // Active flag load event on map end; } /* Duplicates */ guild_vs3,0,0,1 duplicate(catchDual) catchDual#12 -1
-
I am having this issue when i try to open an grf using GRF editor
-------------- Stack trace --------------
at GRFEditor.ApplicationConfiguration.GrfEditorErrorHandler._reportAnyManagedExceptions(String message, Exception exception, ErrorLevel errorLevel)
at GRFEditor.ApplicationConfiguration.GrfEditorErrorHandler.Handle(Exception exception, ErrorLevel errorLevel)
at GRFEditor.EditorMainWindow.<>c__DisplayClass61.<_load>b__55()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()-------------- Exception --------------
System.NullReferenceException: Object reference not set to an instance of an object.
at GRFEditor.EditorMainWindow.<>c__DisplayClass61.<_load>b__55()
-------------- Inner exception --------------
-
On 8/2/2018 at 10:42 AM, retsaoremo said:
Thanks for all. I tested some clients and the version is 2014-10-22.
I did not know this command. Thanks


another way to get this?
-
On 1/2/2021 at 9:47 PM, Froost said:
use Paint in black, it has / vsync and removes the fps limit;) https://rathena.org/board/topic/118729-client-mods-paint-it-black/
It not lets you use Gepard.
-
8 hours ago, Eross said:
Hi ! Ive tested the fury chant for super novice but wont work if you are on max level .. How to make it working even you are level 99 ?? Thankyou
Remember that need other requiremets to work
- Fury
-
A strange phenomenon when the Super Novice's experience reaches increments of 10% such as, at 10.0%, 20.0% - 80.0%, 90.0%. During these times, the Super Novice has been rumored to summon his Guardian Angel for help. If you change maps or relog, you have to repeat all the steps but otherwise you can just repeat the last 3 lines to get Fury status again. Type 7 lines of text (or you will be silenced) and then type the following phrase to get the Fury Status (CRIT +50):
- Dear angel, can you hear my voice?
- I am (your name) SuperNovice~
- Help me out~ Please~ T_T
- &
-
- OR -
- Guardian Angel, can you hear my voice? ^^;
- My name is (your name), and I'm a Super Novice~
- Please help me~ T.T
- &
- & is random text. Sometimes you don't have write one more line after "Help me out" to make the effect activate.
- Another links
- https://forum.ratemyserver.net/rms-test-server/how-to-activate-super-novice-fury-state/
- https://wiki.originsro.org/wiki/Super_Novice
- https://www.novaragnarok.com/wiki/Super_Novice
-
-
On 1/24/2015 at 2:33 PM, HethT said:
It is working now, thanks a lot, Chemi ^^
What was the fix?
@Edit
On 1/24/2015 at 1:53 PM, Chemical Crush said:I know your problem. Check your resolution settings in your ro.xml or wahtever your browedit is reading from.
Tell is what that is.
Make sure its a COMMON resolution.
I did it and worked!
-
-
On 6/24/2020 at 12:44 PM, vhin0708 said:
up anyone can help me
Check this instructions, I did it and works!
-
Could you send this file? I will make it work and show you how.
-
Is it normal when you not using a mount?
-
On 6/20/2020 at 9:58 AM, pazaway12 said:
i saw some edited grf with mvp's that has arrow on its head to spot easily,
im trying to do the same using act editor, is there any shortcut or script to add that "MVP" image to all frames?
i tried adding it manually on each action index but its just added on the first frame.
Bro i founded a web site with some modifications like that
https://kawaii-rage.com/grfs/#bigcards

Here is the result:

-
-
Link dead, i liked it! Anyone could share it?
-
On 6/17/2020 at 1:10 AM, Mabuhay said:
that script sample is exactly how you make instanced map. Try to learn how to use it. It is pretty much straight forward to understand. Goodluck!
It's for a creation of an instance, i just want to make simple clones of the same map, because i will create houses using this map.
On 6/17/2020 at 1:01 AM, Mabuhay said:Im assuming that you are using old server files. Check your own doc/sample/instancing.txt
//===== rAthena Script ======================================= //= Sample: Instancing //===== By: ================================================== //= Euphy //===== Last Updated: ======================================== //= 20140129 //===== Description: ========================================= //= Contains elements of a basic instance script. //============================================================ // Before running this script, add the entry below to // 'db/(pre-)re/instance_db.txt': // 100,Abyss Lake Instance,3600,300,abyss_03,160,155 // Instance Creation //============================================================ prontera,150,170,6 script Sample Instance2 101,{ // id = 100 [email protected]$ = "Guild Point_01"; if (instance_id()) { // ignore the console debug message (harmless) mes "[Sample Instance]"; mes "You are already part of an instance."; next; switch(select("Enter Instance.:Cancel.")) { case 1: break; case 2: mes "[Sample Instance]"; mes "You don't want to try again?"; emotion ET_CRY; close; } } else { mes "[Sample Instance]"; mes "Would you like to try the sample instance in Abyss Lake 3?"; next; switch(select("Create Instance.:Cancel.")) { case 1: [email protected] = instance_create([email protected]$); if ([email protected] < 0) { mes "[Sample Instance]"; switch ([email protected]) { case -1: mes "ERROR: Invalid type."; break; case -2: mes "ERROR: Party not found."; break; case -3: mes "ERROR: Instance already exists."; break; case -4: mes "ERROR: No free instances."; break; } mes " "; mes "Instance creation ^FF0000failed^000000."; emotion ET_HUK; close; } mes "[Sample Instance]"; mes "Instance created."; mes " "; mes "Now entering the instance..."; next; break; case 2: mes "[Sample Instance]"; mes "Okay. Maybe next time!"; close; } } [email protected] = instance_enter([email protected]$); if ([email protected] != 0) { mes "[Sample Instance]"; switch ([email protected]) { case 1: mes "ERROR: Party not found."; break; case 2: mes "ERROR: Party does not have an instance."; break; case 3: mes "ERROR: Unknown error."; break; } mes " "; mes "Instance entry ^FF0000failed^000000."; emotion ET_HUK; close; } close; } // Instance Scripts //============================================================ support,12,86,6 script Instance NPC#start2 101,{ mes "[Instance NPC]"; mes "Are you ready to begin?"; next; switch(select("Yes.:No.")) { case 1: mes "[Instance NPC]"; mes "Good luck."; close2; donpcevent instance_npcname("#ins_abyss03_mobs2")+"::OnEnable"; delwaitingroom; disablenpc instance_npcname(strnpcinfo(0)); end; case 2: mes "[Instance NPC]"; mes "Take your time."; close; } end; OnInit: // hide the NPC on the normal map disablenpc strnpcinfo(0); end; OnInstanceInit: // initialize the NPC when the instance is created disablenpc instance_npcname("abysslakedunwarp004"); // disable original warp portal (currently buggy) waitingroom "Click here to start!",0; end; } support,0,0,0 script #ins_abyss03_mobs2 -1,{ end; OnEnable: initnpctimer; end; OnTimer1000: //strnpcinfo(4) will retrieve the instanced map name mapannounce strnpcinfo(4),"Instance NPC: The Abyss Lake instance has begun.",bc_all; end; OnTimer4000: mapannounce strnpcinfo(4),"Instance NPC: Smash the Treasure Chest in the center of the map for a prize.",bc_all; end; OnTimer5000: stopnpctimer; // spawn mobs [email protected]$ = instance_mapname("support"); [email protected]$ = instance_npcname(strnpcinfo(0))+"::OnMyMobDead"; [email protected]_boss2$ = instance_npcname(strnpcinfo(0))+"::OnMyBossDead"; monster [email protected]$,0,0,"Huge Poring",1002,20,[email protected]$,2; monster [email protected]$,0,0,"Huge Drops",1113,15,[email protected]$,2; monster [email protected]$,0,0,"Huge Poporing",1031,10,[email protected]$,2; monster [email protected]$,0,0,"Huge Marin",1242,10,[email protected]$,2; monster [email protected]$,0,0,"Tiny Zombie",1015,30,[email protected]$,1; monster [email protected]$,0,0,"Huge Mime Monkey",1585,2,[email protected]$,2; monster [email protected]$,86,74,"Treasure Chest",1732,1,[email protected]_boss2$,2; end; OnMyMobDead: // normal mobs dispbottom "What am I doing? I should be attacking the Treasure Chest!"; viewpoint 0,97,102,0,0xFF0000; switch (rand(6)) { // for fun (: case 0: sc_start SC_STONE,5000,0; break; case 1: sc_start SC_FREEZE,5000,0; break; case 2: sc_start SC_STUN,5000,0; break; case 3: sc_start SC_SLEEP,5000,0; break; case 4: sc_start SC_CONFUSION,5000,0; break; case 5: sc_start SC_BLIND,5000,0; break; } end; OnMyBossDead: // treasure chest specialeffect2 EF_MVP; getitem 512,1; //Apple // trigger other events [email protected]$ = instance_mapname("support"); [email protected]$ = instance_npcname(strnpcinfo(0))+"::OnMyMobDead"; killmonster [email protected]$,[email protected]$; mapannounce [email protected]$,"Instance NPC: Good work! Please speak to me as soon as possible.",bc_all; donpcevent instance_npcname("Instance NPC#finish2")+"::OnEnable"; end; } support,67,78,4 script Instance NPC#finish2 101,{ mes "[Instance NPC]"; mes "Congratulations! You've finished the instance."; mes "I'll send you back to town now."; emotion ET_BEST; close2; warp "prontera",156,191; instance_destroy(); end; OnInit: disablenpc strnpcinfo(0); end; OnInstanceInit: disablenpc instance_npcname(strnpcinfo(0)); end; OnEnable: enablenpc instance_npcname(strnpcinfo(0)); specialeffect EF_HIDING; end; } support,66,86,0 script #ins_abyss03_warp2 45,5,5,{ end; OnTouch: mes "Are you sure you want to leave?"; next; switch(select("Leave.:Stay.")) { case 1: warp "prontera",156,191; break; case 2: warp strnpcinfo(4),160,155; break; } close; OnInit: disablenpc strnpcinfo(0); end; }LET ME EXPLAIN, I NEED 109 maps cloned.
-
5 minutes ago, Mabuhay said:
Im assuming that you are using old server files. Check your own doc/sample/instancing.txt
Thanks man! Worked! My version is little old i think.
//===== rAthena Script ======================================= //= Sample: Instancing //===== By: ================================================== //= Euphy //===== Last Updated: ======================================== //= 20140129 //===== Description: ========================================= //= Contains elements of a basic instance script. //============================================================ // Before running this script, add the entry below to // 'db/(pre-)re/instance_db.txt': // 100,Abyss Lake Instance,3600,300,abyss_03,160,155 // Instance Creation //============================================================ prontera,151,190,6 script Sample Instance 101,{ [email protected]$ = "Abyss Lake Instance"; if (instance_id()) { // ignore the console debug message (harmless) mes "[Sample Instance]"; mes "You are already part of an instance."; next; switch(select("Enter Instance.:Cancel.")) { case 1: break; case 2: mes "[Sample Instance]"; mes "You don't want to try again?"; emotion ET_CRY; close; } } else { mes "[Sample Instance]"; mes "Would you like to try the sample instance in Abyss Lake 3?"; next; switch(select("Create Instance.:Cancel.")) { case 1: [email protected] = instance_create([email protected]$); if ([email protected] < 0) { mes "[Sample Instance]"; switch ([email protected]) { case -1: mes "ERROR: Invalid type."; break; case -2: mes "ERROR: Party not found."; break; case -3: mes "ERROR: Instance already exists."; break; case -4: mes "ERROR: No free instances."; break; } mes " "; mes "Instance creation ^FF0000failed^000000."; emotion ET_HUK; close; } mes "[Sample Instance]"; mes "Instance created."; mes " "; mes "Now entering the instance..."; next; break; case 2: mes "[Sample Instance]"; mes "Okay. Maybe next time!"; close; } } [email protected] = instance_enter([email protected]$); if ([email protected] != 0) { mes "[Sample Instance]"; switch ([email protected]) { case 1: mes "ERROR: Party not found."; break; case 2: mes "ERROR: Party does not have an instance."; break; case 3: mes "ERROR: Unknown error."; break; } mes " "; mes "Instance entry ^FF0000failed^000000."; emotion ET_HUK; close; } close; } // Instance Scripts //============================================================ abyss_03,154,159,6 script Instance NPC#start 101,{ mes "[Instance NPC]"; mes "Are you ready to begin?"; next; switch(select("Yes.:No.")) { case 1: mes "[Instance NPC]"; mes "Good luck."; close2; donpcevent instance_npcname("#ins_abyss03_mobs")+"::OnEnable"; delwaitingroom; disablenpc instance_npcname(strnpcinfo(0)); end; case 2: mes "[Instance NPC]"; mes "Take your time."; close; } end; OnInit: // hide the NPC on the normal map disablenpc strnpcinfo(0); end; OnInstanceInit: // initialize the NPC when the instance is created disablenpc instance_npcname("abysslakedunwarp004"); // disable original warp portal (currently buggy) waitingroom "Click here to start!",0; end; } abyss_03,0,0,0 script #ins_abyss03_mobs -1,{ end; OnEnable: initnpctimer; end; OnTimer1000: //strnpcinfo(4) will retrieve the instanced map name mapannounce strnpcinfo(4),"Instance NPC: The Abyss Lake instance has begun.",bc_all; end; OnTimer4000: mapannounce strnpcinfo(4),"Instance NPC: Smash the Treasure Chest in the center of the map for a prize.",bc_all; end; OnTimer5000: stopnpctimer; // spawn mobs [email protected]$ = instance_mapname("abyss_03"); [email protected]$ = instance_npcname(strnpcinfo(0))+"::OnMyMobDead"; [email protected]_boss$ = instance_npcname(strnpcinfo(0))+"::OnMyBossDead"; monster [email protected]$,0,0,"Huge Poring",1002,20,[email protected]$,2; monster [email protected]$,0,0,"Huge Drops",1113,15,[email protected]$,2; monster [email protected]$,0,0,"Huge Poporing",1031,10,[email protected]$,2; monster [email protected]$,0,0,"Huge Marin",1242,10,[email protected]$,2; monster [email protected]$,0,0,"Tiny Zombie",1015,30,[email protected]$,1; monster [email protected]$,0,0,"Huge Mime Monkey",1585,2,[email protected]$,2; monster [email protected]$,97,102,"Treasure Chest",1732,1,[email protected]_boss$,2; end; OnMyMobDead: // normal mobs dispbottom "What am I doing? I should be attacking the Treasure Chest!"; viewpoint 0,97,102,0,0xFF0000; switch (rand(6)) { // for fun (: case 0: sc_start SC_STONE,5000,0; break; case 1: sc_start SC_FREEZE,5000,0; break; case 2: sc_start SC_STUN,5000,0; break; case 3: sc_start SC_SLEEP,5000,0; break; case 4: sc_start SC_CONFUSION,5000,0; break; case 5: sc_start SC_BLIND,5000,0; break; } end; OnMyBossDead: // treasure chest specialeffect2 EF_MVP; getitem 512,1; //Apple // trigger other events [email protected]$ = instance_mapname("abyss_03"); [email protected]$ = instance_npcname(strnpcinfo(0))+"::OnMyMobDead"; killmonster [email protected]$,[email protected]$; mapannounce [email protected]$,"Instance NPC: Good work! Please speak to me as soon as possible.",bc_all; donpcevent instance_npcname("Instance NPC#finish")+"::OnEnable"; end; } abyss_03,97,102,4 script Instance NPC#finish 101,{ mes "[Instance NPC]"; mes "Congratulations! You've finished the instance."; mes "I'll send you back to town now."; emotion ET_BEST; close2; warp "prontera",156,191; instance_destroy(); end; OnInit: disablenpc strnpcinfo(0); end; OnInstanceInit: disablenpc instance_npcname(strnpcinfo(0)); end; OnEnable: enablenpc instance_npcname(strnpcinfo(0)); specialeffect EF_HIDING; end; } abyss_03,115,26,0 script #ins_abyss03_warp 45,5,5,{ end; OnTouch: mes "Are you sure you want to leave?"; next; switch(select("Leave.:Stay.")) { case 1: warp "prontera",156,191; break; case 2: warp strnpcinfo(4),160,155; break; } close; OnInit: disablenpc strnpcinfo(0); end; }BUT NOW, I JUST WANT TO CREATE COPIES OF A VIP Room.
My NPC Vip will create a "new" map or "copy" when there is 10 or more players in the vip map... how to create new copies?
-
8 minutes ago, Mabuhay said:
You can start learning how to instance here:
https://github.com/rathena/rathena/blob/master/doc/sample/instancing.txt
I tried to use this example and the same kind of problem...

-
16 minutes ago, Mabuhay said:
Thats the idea of instancing. You are using live duplicated maps.
how to do it?
*instance_mapname("<map name>"{,<instance id>}) Returns the unique name of the instanced map. If no instance ID is specified, the instance the script is attached to is used. If the script is not attached to an instance, the instance of the currently attached player is used (if it is a character, party, guild or clan mode). If it is not owned by anyone, no player needs to be attached. If that fails, the command returns an empty string instead.
I sow this command, but how to use it? There is no examples in the documentation.
-
On 5/19/2020 at 10:10 AM, Patskie said:
I think there is something wrong with setmapflag for MF_SKILL_DAMAGE. It's causing error always -> map_setmapflag: Skill damage adjustment without casting type for map <map_name> because the caster is not set in script.cpp
Anyway back to topic
1. Apply the diff attached
2. Try below sample npc. -100 (means no damage)
prontera,150,150,6 script Instance Create 100,{ [email protected]_name$ = "Old Glast Heim"; if (instance_create([email protected]_name$, IM_CHAR, getcharid(0)) < 0 ) { message strcharinfo(0), "Failed to create instance"; end; } instance_enter([email protected]_name$, 150, 20, getcharid(0), instance_id(IM_CHAR)); doevent strnpcinfo(3) + "::OnEnter"; end; OnEnter: [email protected]$ = instance_mapname("[email protected]_k", instance_id(IM_CHAR)); if (!getmapflag([email protected]$, MF_SKILL_DAMAGE, SKILLDMG_MOB)) setmapflag [email protected]$, MF_SKILL_DAMAGE, -100, SKILLDMG_MOB; monster [email protected]$, 150, 20, "Poring", 1002, 10; end; } prontera,153,153,6 script Instance Destroy 100,{ instance_destroy instance_id(IM_CHAR); end; }When i tried it:

-
I want use the same map for many houses
Is it possible instancing this like a "different" map, but using the same one.
-
Use GRF Tools to save as .lua and rename it to .lub and done!
-
On 6/13/2013 at 8:24 AM, Shakto said:
Why compile lua to lub..
Just rename your files into .lub, it'll working
oo myyy goshhhhhhhhhhhhhhhh thank you! so Much!!!!!!!!!!!!!
-
Still working?
-
On 7/6/2012 at 6:45 AM, Angst said:


Quest image format
in Client-side Support
Posted
Could you eplain where put the image exactly! please!