Jump to content

  •  

jupeto

Member Since 25 Aug 2016
Offline Last Active Jun 04 2017 01:16 PM
-----

Topics I've Started

Character array variable

01 May 2017 - 04:39 PM

I don't know if I'm doing this right

 

So I have a collection of character variable like so;

 

variable_one[0] = value_one
variable_two[0] = value_two
variable_three[0] = value_three

 

then I'm trying to push some data to it

 

variable_one[getarraysize(variable_one)] = value_one_point_one
variable_two[getarraysize(variable_two)] = value_two_point_one
variable_three[getarraysize(variable_three)] = value_three_point_one

 

I can see that it saves to my database 

 

but when I try to access it and loop like this



for (.@i = 0; .@i < getarraysize(variable_one); .@i++) {
    mes variable_one[.@i];
}
end;

 

 

 

the result is only one value


Party Member Base Levels

30 April 2017 - 09:17 PM

Is there a way to determine base and job levels in a party? given the party id or the invoking character?

 

using getpartymember(getcharid(CHAR_ID_PARTY));


CasimiRO (Ragnarok Online)

23 April 2017 - 08:15 PM

rmsbanner.jpg

 

We're currently in BETA...

Server's main mechanic system is Pre-Renewal but also supports some of the Renewal features such as Costume System, New Item Buffs. The server doesn't support that much customs but we're open to add new features and systems whenever it is needed.

As much as possible, the server needs to be close to what official servers serve. The mechanics are still the same.

Asia based server and is hosted in Singapore.

 

Base Exp: 30x 
Job Exp: 30x 
Drop Rate: 5x 
Quest Exp: default
Equip Drop: 1x    
Card Drop: 1x    
MVP Equip Drop: 1x    
MVP Card Drop: 1x
Max Base Lvl: 99    
Max Job Lvl: 70    
Max Stats: 99    
Max ASPD: 190
Server Mode: Normal    
Main Ethnic or Language: Philippines/Tagalog
 
Server Website: http://ro.venatushub.com    
Registration: http://ro.venatushub...t&action=create
Languages Supported: English, Tagalog
 
Pre-Renewal: Have Rebirth/Trans Classes
  • Healer
  • Skill Resetter
  • Stat Resetter
  • Buff NPC
  • Faction Crier (Daily Sign In Experience)
  • Guild Event Manager (Guild Events)
  • Custom Kafra Shop

Custom Automated Events:

  • Disguise Event
  • Poring Catcher
  • Poring Race

Other Feature Highlights:

  • Daily Sign In Experience
  • AFK Point System
  • Card to Kafra Point System
  • Master and Apprentice System
  • Daily Reward System
  • Guild Events

Upcoming Features:
  • Gear Enhancement System
  • Vestment System
  • Zodiac System
  • Scheduled Instance

Player Commands:

  • @mobinfo
  • @duel
  • @invite
  • @leave
  • @autotrade
  • @afkinfo
  • @loginreward
  • @nextreward
  • @relog
  • @refresh

Quest Events

15 April 2017 - 04:18 PM

Code below stacks the mark icon of exclamation and question mark, the exclamation mark doesn't cleared by the QTYPE_NONE event

 

 

but without showevent(QTYPE_QUEST2,1);, the script removes the mark icon... what I want to achieve here is that the exclamation mark must be replaced by a question mark icon to indicate that the player still has some quest for that npc and that they need to accept it to proceed...

prontera,xxx,xxx,x	script	NPC1::npc1	4_EP16_LOUVIERE,{
    doevent("npc2::OnShowQuest");
}

prontera,xxx,xxx,x	script	NPC2::npc2	4_EP16_LOUVIERE,{
    showevent(QTYPE_NONE);
    showevent(QTYPE_QUEST2,1);
    end;

OnShowQuest:
    showevent(QTYPE_QUEST,1);
    end;

OnHideQuest:
    showevent(QTYPE_NONE);
    end;
}

 

Please enlighten me... thanks

[EDIT]

 

well I guess sleep2(1); did the job

 

prontera,xxx,xxx,x	script	NPC1::npc1	4_EP16_LOUVIERE,{
    doevent("npc2::OnShowQuest");
}

prontera,xxx,xxx,x	script	NPC2::npc2	4_EP16_LOUVIERE,{
    showevent(QTYPE_NONE);
    sleep2(1); // <------ this did the job, but is this the right thing to do?
    showevent(QTYPE_QUEST2,1);
    end;

OnShowQuest:
    showevent(QTYPE_QUEST,1);
    end;

OnHideQuest:
    showevent(QTYPE_NONE);
    end;
}

Experience Earned From Monsters

14 April 2017 - 06:54 PM

Are there any scripts that has a function to get the experience gained from monster, less the tax from guild

 

I can get the experience gained from killing monster via this command

 

    OnNPCKillEvent:
        dispbottom("Base Experience: " + strmobinfo(6,killedrid));
        end;

 

However, if I have a guild tax: it does't sync with the real experience gained by the player

 

exp.jpg

 

Exp: 92070 = 102300 less tax (the real experience added to the player)

Exp: 102300 = normal experience gained when player killed a mob (from mob_db.conf)