-
Posts
207 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by domez86
-
-
On 4/15/2019 at 12:55 AM, care1190 said:
I modified the one that comes with rathena up to +20 i hope you can use it
ticket_refiner.txt 6.7 kB · 0 downloads
thank you, I wanted to ask you: do many of the refining tickets already exist, for what have you created new ones? I refer to your 50xxx items.
-
7 hours ago, EIysium said:
You need put [true, true] (@command, #command)
ex: warp: [true, true]t
tnx!!
-
hi, how do I enter commands with # in this new groups?
thank you.
{
id: 6
name: "Helper"
inherit: ( "Player" )
level: 0
commands: {
item: true
item2: true
warp: true
who: true
baselvl: true
joblvl: true
jobchange: true
stpoint: true
skpoint: true
}
}, -
4 hours ago, domez86 said:
and if i restart / reload server?
after the first time, npc detects item in inventory / equip? or do you notice that you have already received items and that's it?
Excuse me, could you only answer my last question?
-
12 minutes ago, sader1992 said:
setarray .equip_id,1208,2154; // Add your ID's here.
the script work on the array variable .equip_id so you don't need to add the id all over the script , just add it here
it's 101 how to basic xD
setarray .equip_id,1208,2154; // Add your ID's here.
=
.equip_id[0] is 1208
.equip_id[1] is 2154
and if i restart / reload server?
after the first time, npc detects item in inventory / equip? or do you notice that you have already received items and that's it?
-
7 minutes ago, sader1992 said:
setarray .equip_id,1208,2154; // Add your ID's here.
the script work on the array variable .equip_id so you don't need to add the id all over the script , just add it here
it's 101 how to basic xD
setarray .equip_id,1208,2154; // Add your ID's here.
=
.equip_id[0] is 1208
.equip_id[1] is 2154
and if i restart / reload server?
-
12 minutes ago, sader1992 said:
if(#claimed){ mes "[ Freebies ]"; mes "You alreay receieved your freebies."; close; }
the player get #claimed = 1; when he get the equipment ,so he will hit the close every time after that
in that case it's account variable , if you want it for each character , just remove the #
yes, it concerns every single char, not account equip. okok but I don't understand how this script it detects equip if id equip is not there.
since it is an item that has all the restrictions (restrictions 507) I would like npc to look right in the inventory and in the equip and if it sees it it refuses. not that it looks if you have already received item, that is not only a script that is spoken only once. excuse my bad english
-
sorry, is there no script mode?
On 4/13/2019 at 6:13 PM, Functor said:Open EXE by using any HEX editor.
Search bytes: 00 2F 77 68 6F 00
Replace by: 00 00 77 68 6F 00Search bytes: 00 2F 77 00
Replace by: 00 00 77 00not found...
-
11 hours ago, crazyarashi said:
you didn't mention about being equipped on the topic.
prontera,255,255,3 script Equip Freebies 123,{ if(#claimed){ mes "[ Freebies ]"; mes "You alreay receieved your freebies."; close; } getinventorylist; for(.@i = 0; .@i < 20; .@i++){ .@id = getequipid(.@i); if(.@id == -1) .@equip_id[.@i] = 0; // Dummy Data else .@equip_id[.@i] = .@id; } for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ if(inarray(.@equip_id[0],.equip_id[.@i]) >= 0 || inarray(@inventorylist_id[0],.equip_id[.@i]) >= 0){ .@fail = 1; break; } continue; } if(.@fail){ mes "[ Freebies ]"; mes "You already have a duplicated freebies in your inventory/equipment."; close; } #claimed = 1; for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ getitem .equip_id[.@i],1; equip .equip_id[.@i]; } mes "[ Freebies ]"; mes "Here is your freebies."; end; OnInit: setarray .equip_id,1208,2154; // Add your ID's here. end; }
Here is the new script that it will automatically equip it after receiving :))
hi, can I ask you how the npc detects that a char has already taken the equip? because I see that id equip you only insert it in 1 position in the script.
-
1 hour ago, crazyarashi said:
prontera,255,255,3 script Equip Freebies 123,{ if(#claimed){ mes "[ Freebies ]"; mes "You alreay receieved your freebies."; close; } getinventorylist; for(.@i = 0; .@i < 20; .@i++){ .@id = getequipid(.@i); if(.@id == -1) .@equip_id[.@i] = 0; // Dummy Data else .@equip_id[.@i] = .@id; } for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ if(inarray(.@equip_id[0],.equip_id[.@i]) >= 0 || inarray(@inventorylist_id[0],.equip_id[.@i]) >= 0){ .@fail = 1; break; } continue; } if(.@fail){ mes "[ Freebies ]"; mes "You already have a duplicated freebies in your inventory/equipment."; close; } #claimed = 1; for(.@i = 0; .@i < getarraysize(.equip_id); .@i++){ getitem .equip_id[.@i],1; } mes "[ Freebies ]"; mes "Here is your freebies."; end; OnInit: setarray .equip_id,1208,2154; // Add your ID's here. end; }
can you explain this script to me?
Does the item equip it directly?
do I just have to enter an item id? -
i modified this:
start_items: 1201,1,2:2301,1,16
in this:
start_items: 1201,1,2:2301,1,16:2154,1,65536
but not work....
-
hi, I need a npc that gives a free equip, but if the char already has the same item in the inventory or equipped you say that you already have it.
thank you
-
hi, I set up a new item that must already be equipped.
why do I find it in the inventory? not equipped?i modified this:
start_items: 1201,1,2:2301,1,16
in this:
start_items: 1201,1,2:2301,1,16:2154,1,65536
but not work....
then I set:
start_items: 2154,1,65536
but there is always armor equipped .... and my item anyway in the inventory ............. T.T
-
hi, how can I change the image when I pass the pointer over the restrictions in item info? and general info?
tnx
-
10 hours ago, Functor said:
If you mean fix on the server-side - you can't do it without re-compilation.
If you mean fix on the client-side - you can do it, but it is useless.ok, how i can?
-
43 minutes ago, Functor said:
If you will fix it on client-side - player will use EXE without fix or will send packet by using WPE.
So, the best way to fix it - "src" modification.
ok, but i can without recompile?
-
1 hour ago, Functor said:
Open "../src/map/clif.cpp" and change:
void clif_user_count(struct map_session_data* sd, int count) { int fd = sd->fd; WFIFOHEAD(fd,packet_len(0xc2)); WFIFOW(fd,0) = 0xc2; WFIFOL(fd,2) = count; WFIFOSET(fd,packet_len(0xc2)); }
to:
void clif_user_count(struct map_session_data* sd, int count) { /* int fd = sd->fd; WFIFOHEAD(fd,packet_len(0xc2)); WFIFOW(fd,0) = 0xc2; WFIFOL(fd,2) = count; WFIFOSET(fd,packet_len(0xc2)); */ }
Save changes and re-compile emulator.
a solution without recompiling? maybe obscuring the number of online players or changing the message that gives the command.
-
hi, how do i remove/disable the '/who' command?
maybe obscuring the number of online players or changing the message that gives the command.
thank you.
-
if I raise this value, does it only increase hp or even the overall damage of the game?
// Players' maximum HP rate? (Default is 100)
hp_rate: 100tnx!
-
On 4/10/2019 at 7:30 PM, Arthurion said:
As he said use the bonus script to add the HP. and use OnLoadMapEvent for specific maps to remove bonus_script_clear script command.
go read the script command
bonus_script "{bonus bMaxHP,500000;}",86400000,0,0;
sorry guys but maybe I didn't explain myself, then: I need an invisible npc / automatic script that removes all buffs when entering a given map. then I need a npc that when you click on it add 450000 hp. I don't understand what this means in your script: 86400000,0,0 in addition to the bonus script. and in any case this script must be executable every time you click.
On 4/10/2019 at 10:03 PM, crazyarashi said:prontera,255,55,5 script 450KHP 123,{ bonus_script "{ bonus bMaxHP,450000; }",60,512; dispbottom "Max HP increased by 450,000"; end; OnPCLoadMapEvent: bonus_script_clear 1; end; OnInit: setarray .maps$,"prontera","izlude","samplemap"; //= Maps for removing bonus HP for(.@i = 0; .@i < getarraysize(.maps$); .@i++){ setmapflag .maps$[.@i],MF_LOADEVENT; } end; }
please explain to me what it is for: ,60,512; ?
-
14 hours ago, TARTs said:
NPC with OnTouch on remove buff map
bonus_script_clear 1;
NPC with OnTouch or click on buff map
bonus_script "{bonus bMaxHP,500000;}",86400000,0,0;
sorry, the script that removes buffs in a given map serves me automatically, without clicks, without npc. then as for npc that gives you more hp, I need a complete npc, then explain to me what it means: 86400000,0,0?
-
hi, I need a npc that when you click increases the maximum hp by 450000, or just just the script. then I would need an autodebuff script in a specific map, for example that when you enter that map it removes all buffs automatically.
tnx!
-
hi, my server has no item on this site ... how can I add it? or find an updated item_db_re.txt? thank you
-
remove/disable /who
in General Support
Posted
which one can i use?