![](http://board.herc.ws/uploads/set_resources_4/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Samuel
-
Content Count
397 -
Joined
-
Last visited
-
Days Won
20
Posts posted by Samuel
-
-
It's expected since no one is attached when the monsters were killed wherein the events are activated
-
I apologize before asking something my english is bad.
I tried setup server and it seems success but client seems failed.
tried connect to server by my client
serverside.pngbut didn't logging anything
so check client folder RO Data clientinfo.xml
=================================================================
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<desc>Ragnarok Client Information</desc>
<servicetype>korea</servicetype>
<servertype>primary</servertype>
<connection>
<display>Ragnarok Server</display>
<address>127.0.0.1</address>
<port>6900</port>
<version>45</version>
<langtype>1</langtype>
<registrationweb>www.todayhumor.co.kr</registrationweb>
<loading>
<image>loading00.jpg</image>
<image>loading01.jpg</image>
<image>loading02.jpg</image>
<image>loading03.jpg</image>
<image>loading04.jpg</image>
</loading>
</connection>
</clientinfo>
===========================================================
and change my client file before I change mmo.h file and change current date version
like this #define PACKETVER 20140205 YYYYMMDD
but my client return always
unregisted account(5011)
unregisted account(5011)
rejected server(30)
how can I setting this?
hmm, did you make account for testing in your database?
unregistered account means it doesn't exist in database
rejected from server, what error does it throw in map, login or char?
-
another method is
for( set .@i,0; .@i < getarraysize( .Items ) - 1; set .@i,.@i + 2 ) {
getitem .Items[.@i],.Items[.@i + 1];
}
OnInit:
setarray .Items,501,10,502,10,503,10;
or
for( set .@i,0; .@i < getarraysize( .Items ) - 1; set .@i,.@i + 1 ) {
getitem .Items[.@i],.Amount[.@i + 1];
}
OnInit:
setarray .Items,501,502,503;
setarray .Amount,10,10,10;
-
mrlongshen reacted to this -
-
there's @unloadnpc and @loadnpc ☺
use those commands to reload that specific script
example:
@unloadnpc npc/custom/broadcaster.txt
@loadnpc npc/custom/broadcaster.txt
Unfortunately there's a bug with @loadnpc, when you use it to load the broadcaster, 2 broadcaster will simultaneously broadcast news. lol
This means you failed to unload the first one.
You can see your map server that the npc was duplicated
-
@@tathanvocuc017,it's the SC's, check the Sc's in db/const.txt
some of them have different name in our constants
-
-
there's @unloadnpc and @loadnpc ☺
use those commands to reload that specific script
example:
@unloadnpc npc/custom/broadcaster.txt
@loadnpc npc/custom/broadcaster.txt
-
in conf/battle/guild.conf
// Restart guild skills cooldown by relog? (Note 1)
// When "no", you relog with the same cooldown remaining as from when you
// logged out, "yes" restarts the cooldown upon login to its full duration.
guild_skill_relog_delay: no
it's off by default,
-
-
Hello Guys,
I am using Pre-Renewal (2013-12-23) and I observed that the awakening and concentration potion is not working. There's no additional aspd when I use it.
Is anyone who experience the same problem? How did you fix it? Thank you in advance.
Be sure to compile with disabled renewal
in src/config/renewal.h
//#define DISABLE_RENEWAL
uncomment that line
-
EDIT: many member still doesn't want to use the latest one probably because they hate the new mob_db.conf format
too many custom mobs need to convert =/
i know haru provided a converter along with the said update :-)
-
-
Hello, since it's my vacation time, trying to refresh myself with scripting.
Here are some of my recent work, will add more probably in the next coming days.
Disclaimer:You may use, modify and host all my scripts.You may not sell them, re-release them in any way (modified) or remove credits.- Level Up Event
A customizable script for events to happen when a player levels up base/job.
Recommended to be used in low/mid rate servers.
*Disclaimer:
I just tried using bitwise operator in this script, I really don't know that much with bitmask but I tried the npc and it works well but if someone will guide/correct me with the correct use of the bitwise don't hesitate to tell me
https://github.com/SamuelHercules/plugins/blob/master/npc/levelup_event.txt- Race Event
A customizable script for race event when a player reaches max level in your server.Recommended to be used in low/mid rate servers.- Floating Rates
This script will allow a gm with level specified in the script to change your server rates depending on how he sets itwith starting day, starting time, ending day and ending time. For now, it just supports base and job exp rates.- Bind @go command
- Healer/Buffer/Identifier/Repair NPC in one
Have a good day! -
Castles have gvg_castle mapflag or zone i think, try use @mapflag in the castle to see then edit the mapzone then restart
-
It wasn't until now: https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/storeequip.cthere's a command plugin for this, i think dastgir uploaded an updated version in his git repo
lol, maybe what i'm thinking is the @storeit command?
anyway maybe you could add scriptcommand too
-
-
-
you just need to commit first your work before git pull, then after pulling you'll have some conflicts but you'll have options on how to resolve them ☺
-
The current workaround can be hook battle_get_value function and return value and use hookStop()
Can you give an example on how to do it? Thanks
-
Well, hello everyone! It's been a while
Been busy in real life and now I'm back and learning all the changes that has been made and now I'm focusing on scripting and making plugins again.
So I have encountered a problem now with regards to plugin.
I have added battleconf settings into the plugin which is loaded perfectly.
The problem is, the value can't be detected by the script command getbattleflag
Although setbattleflag command can affect the custom battle_conf setting I have made with the plugin.
Thanks!
-
http://herc.ws/board/topic/7062-autotrade-features/#entry42946
see that topic, when autotrade persistency is enabled, all @at will be saved
-
Thank you for answering but it always gives the Debug in console.
if (!sd) return 0;
if(map_flag_vs(sd->bl.m)) {
clif->message(sd->fd, "command cant be used on pvp/gvg/bg maps");
return 0;
}
what i mean is change all the return 0 to return true
@go by mumbles (how to bypass @go for GM'S)
in Script Support
Posted
@@xlaws27
in function go, at line
changed to