-
Content Count
1157 -
Joined
-
Last visited
-
Days Won
86
Posts posted by Ridley
-
-
The 2015 clients were added already and were available in a separate branch for 9 months
-
Yes, exactly. It's specially cool because it allows mouse control or even export for Android/iOS
You can also use plugins in json format which allows pretty awesome things. Monsieur Panda already told me he wants to join this
so once there are updates of actual gameplay I will post about it
-
Well, not much done yet but I thought I can already show some progess :x
Goal is a Ragnarok Online RPG, for this I started with the maps. (Nothing else done yet).
For the initial step I want to do Prontera and Prontera Inn. Maybe followed by the field around it. In case I (hopefully) ever finish this, I don't want to talk about the story yet
As the Title screen I used kRO's login screen, ingame the related BGM's are played. I use a custom code for the lights, but I think it's becoming quite good already (even if there is still room for improvement). Once the maps are done I want to work on a fighting/battle system which comes closer to the Ragnarok Online one. Long talking, I show you what is ready right now.
-
moved to script requests
on topic: you can find plenty if you search a bit
-
On phone but this should do it
- script dropnpc FAKE_NPC,{ OnNPCKillEvent: if (rand(1000) > 50) // 5% end; dispbottom("Happy Halloween!"); getitem(Apple, 1); end; }
Thanks. Its work.
Buy I want add many item in there.
Like 4 item i set, then random item will give.
Example Apple, Oren juice, banana juice and watermelon juice.
So when I kill monster I will get random of this item.
you can use f_rand function
- script dropnpc FAKE_NPC,{ OnNPCKillEvent: if (rand(1000) > 50) // 5% end; dispbottom("Happy Halloween!"); getitem(callfunc("F_Rand", Apple, Banana, Red_Potion, Orange_Potion), 1); end; }
edit: asheraf was faster
mrlongshen reacted to this -
On phone but this should do it
- script dropnpc FAKE_NPC,{ OnNPCKillEvent: if (rand(1000) > 50) // 5% end; dispbottom("Happy Halloween!"); getitem(Apple, 1); end; }
-
-
Yes, either import to your main database or read this
https://github.com/HerculesWS/Hercules/blob/master/doc/global_configuration.txt
-
If using the client with default keys there is no edit needed. It is enabled on server by default, and the server knows the client is using by default (ofc you need to set your clientversion in mmo.h)When you enable packet ob, you need to diff your client with the keys for that client which you can look in src/map/packets.h
Hello Ridley, does this mean if I use the client with no broken keys based on the website(which I forgot) and enabled packet obfuscation on both client and the server without changing anything in the packets, packet obfuscation would work? Unless I want to use custom keys then I need to diff the client with it and put it as well on src(which I cannot make it to work after several times)>Hi Samuel, is that possible, be done with NEMO? It's been years I never manual diff. lol
Currently I set it to 1 cuz 0 will also deny all login.ockquote>
The client has it's keys set by default, if you change them you need to set them. You have 3 options.
1. Disable Packet Obfruscation in both, your client and your server config
2. Keep the Packet Obfruscation on both enabled
3. Use the Diff Samuel mentioned to set custom keys
From what you wrote it sounds like you had the obfruscation enabeld on your server, but diffed the client to disable them
> -
It is, this was introduced by another recent update of the packets.
-
why should there be a problem? resetting skills is resetting skills, if you want to spare some skills (example the plat skills) you need to edit that command to your linking.
Another option would be to move the reset to the label and then trigger it via bindatcommand (replace normal @skreset)
-
When you enable packet ob, you need to diff your client with the keys for that client which you can look in src/map/packets.h
Hi Samuel, is that possible, be done with NEMO? It's been years I never manual diff. lol
Currently I set it to 1 cuz 0 will also deny all login.
The client has it's keys set by default, if you change them you need to set them. You have 3 options.
1. Disable Packet Obfruscation in both, your client and your server config
2. Keep the Packet Obfruscation on both enabled
3. Use the Diff Samuel mentioned to set custom keys
From what you wrote it sounds like you had the obfruscation enabeld on your server, but diffed the client to disable them
-
Copied from custom/resetnpc.txt and platinum_skills.txt
careful: this doesn't check if the player did the quest/had the platinum skills before. It just applies all the related plat skills.
//===== Hercules Script ====================================== //= Reset NPC //===== By: ================================================== //= Hercules Dev Team //===== Current Version: ===================================== //= 1.3 //===== Description: ========================================= //= Resets skills, stats, or both. //===== Additional Comments: ================================= //= 1.0 First Version //= 1.1 Optimized for the greater good. [Kisuka] //= 1.2 Cleaning [Euphy] //= 1.3 All statuses removed upon skill reset. [Euphy] //============================================================ prontera,150,193,4 script Reset Girl 4_F_TELEPORTER,{ set .@ResetStat,5000; // Zeny for stat reset set .@ResetSkill,5000; // Zeny for skill reset set .@ResetBoth,9000; // Zeny for resetting both together mes "[Reset Girl]"; mes "I am the Reset Girl."; mes "Reset Stats: "+ .@ResetStat +"z"; mes "Reset Skills: "+ .@ResetSkill +"z"; mes "Reset Both: "+ .@ResetBoth +"z"; mes "Please select the service you want:"; next; switch(select("^FF3355Reset Skills:Reset Stats:Reset Both^000000:Cancel")) { case 1: mes "[Reset Girl]"; if (Zeny < .@ResetSkill) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetSkill; sc_end SC_ALL; resetskill; callsub L_Reset; mes "There you go!"; close; case 2: mes "[Reset Girl]"; if (Zeny < .@ResetStat) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetStat; resetstatus; mes "There you go!"; close; case 3: mes "[Reset Girl]"; if (Zeny < .@ResetBoth) { mes "Sorry, you don't have enough Zeny."; close; } Zeny -= .@ResetBoth; sc_end SC_ALL; resetskill; callsub L_Reset; resetstatus; mes "There you go!"; close; case 4: close; } L_Reset: skill 142,1,0; switch(BaseClass) { case 0: if (Class !=23) skill 143,1,0; return; case 1: skill 144,1,0; skill 145,1,0; skill 146,1,0; return; case 2: skill 157,1,0; return; case 3: skill 147,1,0; skill 148,1,0; return; case 4: skill 156,1,0; return; case 5: skill 153,1,0; skill 154,1,0; skill 155,1,0; return; case 6: skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; return; default: return; } switch(BaseJob) { case 7: skill 1001,1,0; return; case 8: skill 1014,1,0; return; case 9: skill 1006,1,0; return; case 10: skill 1012,1,0; skill 1013,1,0; return; case 11: skill 1009,1,0; return; case 12: skill 1003,1,0; skill 1004,1,0; return; case 14: skill 1002,1,0; return; case 15: skill 1015,1,0; skill 1016,1,0; return; case 16: skill 1007,1,0; skill 1008,1,0; skill 1017,1,0; skill 1018,1,0; skill 1019,1,0; return; case 17: skill 1005,1,0; return; case 18: skill 238,1,0; return; case 19: skill 1010,1,0; return; case 20: skill 1011,1,0; return; default: return; } }
-
It should remain unlimited (item type 11)
This is only consumed if you use itemskill command
mrlongshen reacted to this -
-
-
On phone and not having the script here, usually in raw very first line of the npc
-
if the issue comes only when you equip or unequip a hat then adding a
disable_items();
should fix it -
Common question without reading error. Which client you use, did you set client version in mmo.h, what's your settings for packet encryption
-
I personally use 20150315 which is stable on herc (I know it's not on other emus) but the problem is the not coded features like Rodex and achievement system which you should disable.
There are some minor issues most people wouldn't even notice. Also we had a large packet update which supports even more features for clients 20150315 and ongoing.
-
This on herc is a pretty old version, isn't it fixed in the new ones? Maybe we should update it too.
And as the others said, how are we supposed to provide support without knowing how to perform the exploit?
-
Hail Satan
-
On herc most of the recent clients run stable
-
Why would you disable packet encryption? Oo just keep both enabled
delitem all amount of 1 type?
in Script Support
Posted
delitem(Blue_Potion, countitem(Blue_Potion));