Angelmelody
Members-
Content Count
772 -
Joined
-
Last visited
-
Days Won
23
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Angelmelody
-
Isn't flooritem same as makeitem ?
-
Are you sure? In game bank and mysql are synchronous unless you didn't enable this option
-
LOL! Still waiting for his update
-
That item exists on your item_db? Hum, I can find it in item_db.conf { Id: 1112 AegisName: "Lapier__" Name: "擊刺長劍" Type: 4 Buy: 10000 Weight: 500 Atk: 70 Range: 1 Job: 0x000654E3 Loc: 2 WeaponLv: 2 EquipLv: 14 View: 2},warnings when converting to iteminfo.luahttp://pastebin.com/raw.php?i=ZyFvsUh5
-
EDIT. Tried recompiling twice on my centos server, but it seems to be not working. No error on console though. The @autotrade are still getting recalled. just insert this line into for loop if(pl_sd->state.autotrade) continue;
-
Bound cards can be traded if added to an item
Angelmelody replied to prism's question in General Server Support
Impossible imo, for example if there is a weapon that with 2 bound cards , one card is bound to char and another is bound to guild ,Can you tell me how the weapon work? so its kinda hard to figure card sets which was bound to -
Since eathena is Down anyone can help me?
Angelmelody replied to ThyroDree's question in Script Support
I think he was using Eamod which cant recognize Agitstart2 label -
you can use addrid script command to recall all players who isn't with a vendor through binding @recallall command to overwrite original recall command http://herc.ws/board/topic/3285-script-command-addrid/
-
identifiedResourceName = "Helm of Darkness", unidentifiedResourceName = "Helm of Darkness", these are incorrect and should same as sprite name
-
Need a @sleep script for Hercules
Angelmelody replied to snowflake1963's question in Source Requests
try to add a line #include "../common/timer.h" on the header -
Example of an NPC that checks if a player has already learned a skill?
Angelmelody replied to Zirius's question in Script Support
if( getskilllv(SM_FATALBLOW) ){ ....................................}if( getskilllv(MC_CHANGECART) ){ ....................................} -
NumClass field was not working properly sorry, my native language is Chinese and Here is my covert result: [1112] = { unidentifiedDisplayName = "擊刺長劍", unidentifiedResourceName = "溯檜橫", unidentifiedDescriptionName = { "有著細長刃的劍,專門做刺穿用。", "系列 : ^777777劍^000000 攻擊 : ^77777770^000000", "重量 : ^77777750^000000", "武器等級 : ^7777772^000000", "要求等級 : ^77777714^000000", "裝備 : ^777777初學者/劍士系列/商人系列/盜賊系列可以裝備 ^000000" }, identifiedDisplayName = "擊刺長劍", identifiedResourceName = "溯檜橫", identifiedDescriptionName = { "有著細長刃的劍,專門做刺穿用。", "系列 : ^777777劍^000000 攻擊 : ^77777770^000000", "重量 : ^77777750^000000", "武器等級 : ^7777772^000000", "要求等級 : ^77777714^000000", "裝備 : ^777777初學者/劍士系列/商人系列/盜賊系列可以裝備 ^000000" }, slotCount = 0, ClassNum = 0 ----> this value should be 2 },
-
why not use getitem2 + specialeffect2 ?
-
It's not client side issue but src var type , why? rathena already implemented increasing item id to 65535 maybe #23 in that thread can fix your problem
-
mes "your bank vault: " + .@bank + " Zeny.";
-
read this thread http://herc.ws/board/topic/5261-itemdb-can-support-items-with-32k-id/
-
Here yo go! ,I dont test shadow equipment ....good luck! refine_bonus.patch
-
Updated to Version 1.1, Please download it. found a bug , this plugin will cause certain skills which target on a mob failed (e.g. Provoke) I fix it by myself int status_change_start_postAura(int retVal,struct block_list *src, struct block_list *bl, enum sc_type type, int rate, int val1, int val2, int val3, int val4, int tick, int flag) { //[Dastgir Pojee/Hercules] if (retVal == 0){ return 0; } if (bl->type == BL_PC) { struct map_session_data *sd = BL_CAST(BL_PC, bl); int effect1, effect2, effect3; if(sd) { effect1 = pc_readglobalreg(sd, script->add_str("USERAURA")); effect2 = pc_readglobalreg(sd, script->add_str("USERAURA1")); effect3 = pc_readglobalreg(sd, script->add_str("USERAURA2")); if ((effect1 > 0 || effect2>0 || effect3>0) && (type == SC_HIDING || type == SC_CLOAKING || type == SC_CHASEWALK || sd->sc.option == OPTION_INVISIBLE || type == SC_CHASEWALK || type == SC_CHASEWALK2 || type == SC_CAMOUFLAGE)){ effect1 *= -1; effect2 *= -1; effect3 *= -1; clif->clearunit_area(&sd->bl, 0); clif_getareachar_char(&sd->bl, 0); } } } return 1;}
-
Who know why the eathena forum was down for a long time
Angelmelody replied to Angelmelody's topic in Off Topic
Connect Four -
if(mobcount(strcharinfo(3),"OnInvadeDeath") < 1) change to... if(mobcount(strcharinfo(3),strnpcinfo(1)+"::OnInvadeDeath") < 1)
-
plz try example npc, I think nothing is better than first hand experience
-
idea from here: http://herc.ws/board/topic/3257-aegis-showscript-command/?p=21640 *showscrpt("<message>"{,<GID>}); This script will display the output message on top of the units Head If an optional GID is specified, msg will be shown on specified units head. if GID isn't specified or target not exist, msg will be shown on the invoking character if GID isn't specified and there is no player attached, msg will be shown on npc's head example: prontera,120,120,2 script bla 120,{ showscript("plz input an online player's name!"); input .@name$; .@tgid = getcharid(3,.@name$); showscript("this is a test!",.@tgid); close;OnInit: showscript "I m npc bla";end;} download: showscript.c
-
About 1 Per Mac IP except vending or @AT
Angelmelody replied to Hadeszeus's question in Script Support
Vendors still kick from the server try the new one , after tested, it works for me- script Only1perMAC -1,{OnPCLoginEvent: if (getgmlevel() >= 99) end; if (query_sql("SELECT `char`.`name` FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login.last_mac=(SELECT last_mac FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1 AND `char`.char_id!="+getcharid(0), .@name$) >= 1) { for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) { if (!checkvending(.@name$[.@i])) set .@samemac, .@samemac +1; } if (.@samemac >= 1) { announce "Sorry, only 1 account per computer can be logged in at a time.", bc_self; sleep2 1000; atcommand "@kick "+strcharinfo(0); } } end;} -
About 1 Per Mac IP except vending or @AT
Angelmelody replied to Hadeszeus's question in Script Support
find and replace if (checkvending(.@name$[.@i]) != 2) with if (!checkvending(.@name$[.@i]) ) -
This script command is from rathena created by cydh ,I convert it to herc *bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};This command will attach a script to a player for a given duration, in seconds.After that time, the script will automatically expire. The same bonus cannot bestacked. By default, this bonus will be stored on `bonus_script` table when playerlogs out.Note that the maximum number of 'bonus_script' commands that can run simultaneouslyfor a player is 20 (MAX_PC_BONUS_SCRIPT in 'src/common/mmo.h').Flags: (Default is 0) &1: Remove when dead. &2: Removable by Dispell. &4: Removable by Clearance. &8: Remove when player logs out.Types: This will be used to decide negative or positive buff for 'debuff_on_logout'. 0: Ignore the buff type and won't be removed if the flag is not &8 (Default) 1: Buff 2: DebuffStatus_icon: See "Status Icon" section in 'db/const.txt'. Default is SI_BLANK (-1).Example: // Apple gives you +5 Str bonus for 1 minute when it's consumed. 512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ bonus_script "{ bonus bStr,5; }",60; },{},{} download: bonus script.patch ---- Table structure for table `bonus_script`--CREATE TABLE IF NOT EXISTS `bonus_script` ( `char_id` varchar(11) NOT NULL, `script` varchar(1024) NOT NULL, `tick` varchar(11) NOT NULL DEFAULT '0', `flag` varchar(3) NOT NULL DEFAULT '0', `type` char(1) NOT NULL DEFAULT '0', `icon` varchar(3) NOT NULL DEFAULT '-1') ENGINE=InnoDB;