-
Content Count
59 -
Joined
-
Last visited
-
Days Won
7
Posts posted by goddameit
-
-
Preview:
Info:
Just like what video show you, winner is who can own EMP when time out,
so Attacker need to break EMP to be a new owner,
Defender need to protect EMP until time out.
Setting:.sett_totaltime = 180; // total gaming time .sett_waitenemydelay = 10; // wait for enemy .sett_opendelay = 10; // wait for game map open .sett_startdelay = 10; // wait for game start, defender can enter now .sett_restartdelay = 60; // when EMP is down, how long that setting will restart .sett_respawnHEARTdelay = 60; // respawn time for obstacle .sett_respawnBOMBdelay = 60; // respawn time for bomber .sett_reBOMBdelay = 60; // cd for bomber
Script:
Another 1v1 KoE .txt
db:
mob_avail.txt2414,1288 2415,1908 2416,1906
mob_db.txt
2414,FAKE_EMP,FAKE_EMP,FAKE_EMP,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,02415,FAKE_HEART_STONE,FAKE_HEART_STONE,FAKE_HEART_STONE,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,02416,FAKE_DEF_STONE,FAKE_DEF_STONE,FAKE_DEF_STONE,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-
My friend find something under 0x196
WBUFL(buf,17)=val1; //<----WBUFL(buf,21)=val2; //<----WBUFL(buf,25)=val3; //<----
so the server not only send the time but also value,
is that mean we can write something like this to show those value on status icon?
StateIconList[EFST_IDs.EFST_BLABLABLA] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "blablabla ", COLOR_TITLE_BUFF }, { "%s", COLOR_TIME }, { "Val1: %d", { 255, 255, 255 } }, { "Val2: %d", { 255, 255, 255 } }, { "Val3: %d", { 255, 255, 255 } }, }}
-
Info :
After GM active this game, everyone can put their #CASH into the pool,
the more you put into it, the higher chance you will win,
for example, if I put 100p into pool, and total #CASH is 1000p, then I have 10% ( 100/1000 ) chance,
if I add another 300p, then it will be 30.769% ( 400/1300 ).
The default setting is GM active or end this game, and tax rate is 5%.
Download :
Script --- lottery.txt
SQL --- http://pastebin.com/E86ETCbf
-
I wanna say, that's amazing~,jack!
Haha, I didn't notice that
-
In this video, you can see I get different bonus on same item (both item-id are 1101) after I change something in database,
so you can set what you like on each equipment.
Download:
code ---
randombonus.patch
sql ---
http://pastebin.com/ais6Tbt9
sample script ---
http://pastebin.com/a64JSGv1
How to use:
1. add special command into your item_dbcallfunc "RandomBonusFunc", getuniqueid();
http://i.imgur.com/7kzDdsn.png
2.Modify script to what you like
http://i.imgur.com/x1eL0T3.jpg
Refer:
script4each -
Update old work from rAthean and fix some things.(Now you can free walking without being stopped on each hit)
Preview :
http://gfycat.com/PlushBewitchedBabirusa
Download :
Critical-Magic.patch -
File Name: Bigger Vending
File Submitter: goddameit
File Submitted: 26 Feb 2015
File Category: Source Modifications
Preview:
http://gfycat.com/OffbeatThirdFox
Info:
After using NPC for setting date, it will rewrite your vending list, so you can put more item.
-
after create a new ground skill:
skill_castend_pos2map->foreachinarea(skill->greed,src->m,x-1,y-1,x+1,y+1,BL_ITEM,src);
&& sd->ud.skill_id!=BS_GREED && sd->ud.skill_id!=GO_NEWGROUNDSKILL)
-
if(pc_readglobalreg((TBL_PC*)src,script->add_str("faction")) != pc_readglobalreg((TBL_PC*)target,script->add_str("faction")) && src->m == SPECIAL_MAP_ID ) { return 1; }
if(pc_readglobalreg(sd,script->add_str("faction")) != pc_readglobalreg(target_sd,script->add_str("faction")) && src->m == SPECIAL_MAP_ID ) { return; }
-
-
https://github.com/HerculesWS/Hercules/blob/master/src/map/battle.c
MO_EXTREMITYFIST
wd.damage = (250 + 150 * skill_lv) + (10 * (status_get_sp(src)+1) * wd.damage / 100) + (8 * wd.damage);
-
-
Simple script Online exchange Point ?
prontera,150,180,4 script OnlineGamingTime 100,{ .@tick = 0; query_sql "UPDATE `onlinetime` SET `total_sec` = `total_sec` + TIMESTAMPDIFF(SECOND, `start_time`, NOW()), `start_time` = NOW() WHERE `account_id` = "+getcharid(3); query_sql "SELECT `total_sec` FROM `onlinetime` WHERE `account_id` = "+getcharid(3), .@tick; mes "Your online time is:"; mes "[ "+callfunc("Time2Str", gettimetick(2)+.@tick)+" ]"; @tick = .@tick; if(prompt("[100t ---> 1p]", "[close]") == 1 && @tick >= 100) { @tick -= 100; #CASHPINTS += 1; } query_sql "UPDATE `onlinetime` SET `total_sec` = "+@tick+" WHERE `account_id` = "+getcharid(3); .@tick = 0; @tick = 0; close;
-
Nice
-
Preview:
http://goo.gl/GUwpM5
Info: Tell you how long you're online.
Download:
script - http://pastebin.com/gYVYqgpF
sql - http://pastebin.com/HTL3wEhz -
update on something
-
File Name: BOT
File Submitter: goddameit
File Submitted: 10 Mar 2014
File Category: Source Modifications
Refer:
http://rathena.org/board/files/file/2551-autoattack/
http://rathena.org/board/files/file/2826-autopots/
Preview:
https://www.facebook.com/photo.php?v=774591642560012
https://www.facebook.com/fanen.goddameit/posts/774573372561839
https://www.facebook.com/fanen.goddameit/posts/773655365986973
Info:
This system will make player auto-attack when they active this SC.
Player can put some skill and item to their hotkeys for controlling something,
for example, if I put fly wing to my F1, and it will use it for teleporting.
Hotkeys:
F1 ---> Fly wing
F2 ---> Teleport (Skill)
F3 ~ F7 ---> buff skill for yourself
F8 ---> Main attacking skill
F9 ---> Second chosen skill
Line 2 1st ---> Item for HP (Lower 80%)
Line 2 2nd ---> Item for SP (Lower 80%)
http://i.imgur.com/v3rBXjc.jpg
Active:
sc_start4 SC_BOT,<Duration>,<Use Normal Attack>,0,0,0;
Forced End:sc_end SC_BOT;
Sample for ONOFF:@boton ---> start @botoff \ @botend ---> end
http://pastebin.com/VEpkVF9iPS:
If everything is right, but BOT still not working, check your SC_BOT definition in db/const.txt and status.h, both must be same value.
For New Version Hercules Users :
path->search is updated and it needs block_list now, so just add it by yourself.
http://herc.ws/board/topic/4821-bot/?p=67769
Update:
v.3: Fixed and change SC to SC_BOT
Click here to download this filev.2: New variable @SP_BOT_LTICK will record your left time after you use @sak or sc_end
-
-
Preview :
You can click special NPC and put its location to your list,
so you will be able to use this warper to go to there.
How to put special NPC ?
Open 2_Mark_Stone.txt and add new setting like this :
<map>,<x>,<y>,<facing>%TAB%duplicate(GG_Record_Mark_Main)%TAB%<NPC Name>%TAB%<sprite id>
All you need to notice is your npc name must look like this :
" blablabla#blablabla_uz% " ( % = 1,2,3...9 )
If you set this new npc is _uz2, then you will find it in "2" type when you use warper.
--------------------------------------------------------------------------------------------------------
Download :
Edit : placemark.sql, 1_Main_Func.txt
- script GG_Clean_OutDate -1,{oninit:onclock2359: sleep2 60000; query_sql "DELETE FROM `placemark` WHERE DATEDIFF(NOW( ), `time`) > 3"; // 3 days end;}
-
-
-
Great use of unit related commands. The only problem I can see is that there is a limited number of 'servants', maybe using the mercenary system to replace the npc as servant... Or even using a mob as servant, one mob = one npc instance to control it, and then use whisper commands to get buffs and such.
modify core will be more easy, but I don't want to and need "click for some service", that's why I use npc
-
Can you make this as a VIP service? Exchange an item before you can hire this npc.
Add what you want at here
-
Preview :
Introduction :
You can hire this npc, it will follow you and give you buff.
Download :
More NPC :
First add new npc like this:
,,,duplicate(DedicatedNPCMain)
Add new name define into .npc_name$setarray .npc_name$[0],"Dedicated Poring AAA","Dedicated Poring BBB","Dedicated Poring CCC";
Time Set :60 seconds
set getvariableofnpc(.npc_time[@id_use],"DedicatedNPCTimer"),gettimetick(2)+60;
Update :2014/02/27 : http://herc.ws/board/topic/4107-dedicated-npc-v2/?p=27298
http://rathena.org/board/topic/74607-dedicated-npc-v2/?p=244414
2014/01/24 : Rewrite timer and npc runner.
Edit :
BOT
in Source Releases
Posted · Edited by goddameit
@@keripikotaku
You need to have some coding technology if you want to use it, or you can hire someone to help you.
(I'm lazy on checking it whenever herc updata)
(Did you see something missing in here? yeap, just add it.)