-
Content Count
156 -
Joined
-
Last visited
-
Days Won
1
Posts posted by hadiesyafiq
-
-
12 hours ago, 4144 said:it said what constant MF_LOADEVENT not defined
how to fix it mister @4144?because i already install the hashtable plugin.
-
hi... i already apply the plugins but i got this error on map-server
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: setmapflag (2 parameters):
[Debug]: Data: string value="prontera"
[Debug]: Data: variable name='MF_LOADEVENT' index=0
[Debug]: Source (NPC): map_name (invisible/not on a map)
[Warning]: script_get_val: cannot access player variable 'MF_LOADEVENT', defaulting to 0
-
10 minutes ago, fTakano said:First, you need to set a variable for the F_Rand().
.@Item = F_Rand(656, 657, 505, 645, 506, 14510);getitem .@Item, rand(1,1);
announce "[Rika] : "+strcharinfo(PC_NAME)+" get "+getitemname(.@Item)+".",bc_all;
thank you very much
-
On 7/14/2021 at 2:44 AM, fTakano said:You need a parameter inside the `getitemname` script command.
e.g. getitemname(Red_Potion) will show "Red Potion".
Ya the script is get random item..how to make it show the item they get?please help me about this script 🙏
-
Hi all can someone help me to understand "getitemname" because i make this script is successful announce but the item name show "null"
i make bet npc that will announce item that player get but annouce show "null"
here my test script...
prontera,151,183,6 script Rika Exchange 4_F_KAFRA8,{ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 10000) { mes "[Rika]"; close; } mes "[Rika]"; mes "Hi place your bet...."; next; switch (select("2M Zeny", "5M Zeny", "10M Zeny")) { case 1: mes "[Rika]"; mes "Good good, let me just check"; next; if (Zeny < 2000000) { mes "[Rika]"; mes "Sorry, but you lack some money..."; close; } set Zeny, Zeny - 2000000; getitem F_Rand( 656, 657, 505, 645, 506, 14510 ), rand(1,1); announce "[Rika] : "+strcharinfo(PC_NAME)+" get "+getitemname( "" )+".",bc_all; close; case 2: mes "[Rika]"; mes "Good good, let me just check"; next; if (Zeny < 5000000) { mes "[Rika]"; mes "Sorry, but you lack some money..."; close; } set Zeny, Zeny - 5000000; getitem F_Rand( 656, 657, 505, 645, 506, 14510 ), rand(1,1); announce "[Rika] : "+strcharinfo(PC_NAME)+" get "+getitemname( "" )+".",bc_all; close; case 3: mes "[Rika]"; mes "Good good, let me just check"; next; if (Zeny < 10000000) { mes "[Rika]"; mes "Sorry, but you lack some money..."; close; } set Zeny, Zeny - 10000000; getitem F_Rand( 656, 657, 505, 645, 506, 14510 ), rand(1,1); announce "[Rika] : "+strcharinfo(PC_NAME)+" get "+getitemname( "" )+".",bc_all; close; } OnPCLoadMapEvent: if (strcharinfo(3) == strnpcinfo(4)) showevent QTYPE_QUEST2,1; end; }
how to make is show item name not "null"
-
hi all...how to get this effect...if we equip King_Tiger_Doll_Hat we can change to eddga auto when we attack or receive damage
but in hercules both pre or re don't have this script..
how to implement this script?
here i get from rathena...
Id: 5497 AegisName: King_Tiger_Doll_Hat
Name: King Tiger Doll Hat
Type: Armor
Buy: 20
Weight: 400
Defense: 6
Slots: 1
Jobs: All: true
Novice: false
SuperNovice: false
Locations: Head_Top: true
EquipLevelMin: 1
Refineable: true
View: 495
Trade: Override: 100
NoDrop: true
Script: | bonus bStr,2; bonus bDex,2; bonus2 bAddRace,RC_Brute,10; bonus2 bAddRace,RC_Player_Doram,10; .@r = getrefine(); autobonus "{ bonus2 bSPLossRate,5,1000; bonus bBaseAtk,25*getrefine(); }",3*.@r,3000,BF_NORMAL,"{ active_transform 1115,3000; specialeffect2 EF_POTION_BERSERK; showscript \"Eddga Power !\"; }"; autobonus2 "{ bonus2 bSPLossRate,5,1000; bonus bBaseAtk,25*getrefine(); }",.@r,3000,BF_NORMAL,"{ active_transform 1115,3000; specialeffect2 EF_POTION_BERSERK; showscript \"Eddga Power !\"; }";
can i just copy the script?but i think herc doesn't have script bonus2, autobonus2 and active_transform.
-
2 hours ago, SinjiPrasetio said:Well please check your char,c at arount line 3943
You fill find this codestatic void char_parse_frommap_scdata_update(int fd) { int account_id = RFIFOL(fd, 2); int char_id = RFIFOL(fd, 6); int val1 = RFIFOL(fd, 12); int val2 = RFIFOL(fd, 16); int val3 = RFIFOL(fd, 20); int val4 = RFIFOL(fd, 24); short type = RFIFOW(fd, 10); if (SQL_ERROR == SQL->Query(inter->sql_handle, "REPLACE INTO `%s`" " (`account_id`,`char_id`,`type`,`tick`,`total_tick`,`val1`,`val2`,`val3`,`val4`)" " VALUES ('%d','%d','%d','%d','%d','%d','%d','%d','%d')", scdata_db, account_id, char_id, type, INFINITE_DURATION, INFINITE_DURATION, val1, val2, val3, val4) ) { Sql_ShowDebug(inter->sql_handle); } RFIFOSKIP(fd, 28); }
static void char_parse_frommap_scdata_update(int fd) { int account_id = RFIFOL(fd, 2); int char_id = RFIFOL(fd, 6); int val1 = RFIFOL(fd, 12); int val2 = RFIFOL(fd, 16); int val3 = RFIFOL(fd, 20); int val4 = RFIFOL(fd, 24); short type = RFIFOW(fd, 10); if (SQL_ERROR == SQL->Query(inter->sql_handle, "REPLACE INTO `%s`" " (`account_id`,`char_id`,`type`,`tick`,`total_tick`,`val1`,`val2`,`val3`,`val4`)" " VALUES ('%d','%d','%d','%d','%d','%d','%d','%d','%d')", scdata_db, account_id, char_id, type, INFINITE_DURATION, INFINITE_DURATION, val1, val2, val3, val4) ) { Sql_ShowDebug(inter->sql_handle); } RFIFOSKIP(fd, 28); }
check if this code is te same with your source, if your code is changed, please follow above code, and recompile.
Hope this helps!Thank you very much sir @SinjiPrasetio it work...it different from mine just INFINITE_DURATION...mine just single word...
-
On 7/5/2021 at 7:34 PM, SinjiPrasetio said:Hello,
Are you made a source modification?
This error should not occurs on fresh Hercules.
Can you provide more information about this?Now i found this error will appear when character weight over 50%..but how to fix it?
-
-
Hi all i just want make script for my new bet npc
example : npc need 2 type of zeny
Pay 1m you can get 1 of this item
apple 50%
red potion 30%
jellopy 10%
Pay 2m you will get 1 of these
Orange 50%
Red herb 10%
Green herb 70%
Above is example of kind script that i need...that have 2 option and with percent chance...
Thanks in advance
-
Hi Herc...
if possible to adjust or add
can someone teach me how to add more lines or modified SRC to add or adjust announcement lines/words
here script
example :
announce "[Notice] : WARNING: READ BEFORE PLAYING A very small percentage of individuals may experience epileptic seizures when exposed to certain light patterns or flashing lights. Exposure to certain patterns or backgrounds on a computer screen, or while playing video games, may induce an epileptic seizure in these individuals. Certain conditions may induce previously undetected epileptic symptoms even in persons who have no history of prior seizures or epilepsy.
If you, or anyone in your family, have an epileptic condition, consult your physician prior to playing. If you experience any of the following symptoms while playing a video or computer game-dizziness, altered vision, eye or muscle twitches, loss of awareness, disorientation, any involuntary movement, or convulsions-IMMEDIATELY discontinue use and consult your physician before resuming play.",bc_all;
but not all will display....on official server so many line they can add...
if can please guide me...
-
On 7/18/2020 at 2:48 PM, Emistry said:Ever wonder why these random number show up in your RO game client?
It's called Character Code (C-CODE), an old system that implemented around 2013.
If you enable this system you'll be protected against fraud since it offers a unique additional protection for each player present in-game.
As you can see from the screenshot above, there exists an extra set of codes (It show up int he basic information window, and the right-click menu of player object).
According to KRO, these codes doesn't repeat/overlap and its unique for every players. It offers a unique additional protection for each player present in-game.
When you right-click on any player object, the C-Code are shown at the last menu ([C-Code] : ### - ###)
Its ranging from 000-000 ~ 999-999, around 1,000,000 set of codes.However its not confirmed that the numbers won't repeat itself if there are multiple server setup.
Click on the menu, the C-Code will be copied to clipboard.
Open up any text editor or notepad, press on CTRL + V, the codes will be shown in the editor.
Notes: If you copied the codes, and take a screenshot right away, the codes will be removed from the clipboard.
The codes are shown display behind character's level in the trading window.
Sample of different C-Code for different characters.
References: home.gamer.com.tw
how to enable this system sir?
-
try check your firewall...open port for 6900/5121/6121 dont forget sql port 3306
-
-
hi @L1nkZ i success cargo build --release...and now where can i get patcher.exe to copy to my game client directory?not found...or just use thor.exe?
-
20 minutes ago, Daraen said:This script does not belong to me, I found it on the internet, do whatever you want
no i mean i need to modified official script not custom script..here this one is official attendance system see the picture...i ask how can i change this attendance system not custom script..
-
On 2/3/2021 at 11:48 AM, Daraen said:thanks for reply..but i use official Attendance System..can i modified that system?
-
hi all how to set Attendance System will give reward after 1 hour in game?
not on the spot..need to online for 1 hour..
-
25 minutes ago, botka4aet said:Thanks for reply...but what i need is not VIP benefit script...i just want to make rates will be different between normal job and rebirth job...maybe i can change on exp table...but if got script can make it separately it will be wonderful.
-
Hi all can i know it’s possible to make 2 different rates between normal job and rebirth job?can do by script or need source modification?
example
rates is 7x global but when we reborn rates change to 5x...
-
15 hours ago, 4144 said:what kind of error you got on nemo site?
here to error from nemo site @4144
-
Hi hercules can someone share to me hexed 2018-03-14nRagexe?
i try download on nemo.herc.ws failed maybe the client already gone.
the reason i want this client because i want use packet obfuscation...this is last client that support packet obfuscation key...thanks in advance
-
13 hours ago, Daraen said:I use langtype 18 and it work.
Can you give me your exe, i can try for you if you wantHi @Daraen here mine https://drive.google.com/file/d/1Cxf9CsrLTvByAFiVd3zc52EzdKGn8klZ/view?usp=sharing
-
1 hour ago, Daraen said:Have you tried the RessourceHacker software? I know that you can modify the executable icon on it. I personally use it to configure a personal launcher for my game server. Try to open an executable where the Ragnarok online icon is present in order to extract the icons to add them to your executable.
By the way, my question is irrelevant, but how did you display a warning window like the one you see on your screen shoot, that interests me.
EDIT: Found it. sorry for inconvenience!
I already try use reshack but that one only change the exe icon not the title window icon...
and for warning window is license.txt...just diff always show license...and need to use langtype 7/8
Introducing Cash Shop Support
in Repository News
Posted
hi all dev
how to set my cash shop to use kafrapoints(@points) not use cashpoints(@cash)
i already open db and cashshop_db.conf there no option to set default currency...
i just need change currency from cashpoints to kafrapoints...
what i ask is for cash shop not npc...npc i already know how to set the currency by using NST_CUSTOM
thanks in advance...