-
Posts
143 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Jarek
-
-
no ofcwill this timer still work even though the server is offline when for lets say 3 days?
I rewrote npc, but this npc consumes space for two global variables
prontera,1,1,0 script MobController -1,{ OnMobDeath: $d = gettime(8) + 30; //day of the year + 1 month if ($d > 365) $d -= 365; $w = 1; // $w = wait for spawn, 1 or 0 end; OnClock0000: //everyday at midnight if (!$w || (gettime(8) != $d)) end; //ignore if we are not waiting for spawn or if it's a wrong day $w = 0; //go to spawning OnInit: if (!$w) monster "prontera",150,150,"Special Poring",1002,1,"MobController::OnMobDeath"; end; }
-
would that make it trap the caster also? or make the caster immune to his/her own traps? (i'm trying to make the caster immune to his or her own traps)
(~BCT_SELF&BCT_ALL);
That mean the target is everyone except caster.
-
prontera,1,1,0 script MobController -1,{
OnMobDeath:
initnpctimer;
end;
OnTimer2592000000:
stopnpctimer;
OnInit:
monster "prontera",150,150,"Special Poring",1002,1,"MobController::OnMobDeath";
end;
}
-
replace
if( attachrid( .@account_id[ .@i ] ) ) {
withif( attachrid( .@account_id[ .@i ] ) && getgmlevel()<40 ) {
-
dicastes01 mapflag nodrop
-
Edit db\re\attr_fix.txt (or copy from db\pre-re\attr_fix.txt)still the same. is there anyway to edit the ghostproperty def? i think in renewal 30% reduce damage to neutrals in pre-re is 75% i would like to change the 30% to 75%
-
You can change behavior of gvg_traps_target_all
skill.c find
if( battle_config.vs_traps_bctall && map_flag_vs(src->m) && (src->type&battle_config.vs_traps_bctall) ) target = BCT_ALL;
replace withif( battle_config.vs_traps_bctall && map_flag_vs(src->m) && (src->type&battle_config.vs_traps_bctall) ) target = (~BCT_SELF&BCT_ALL);
-
What version of emulator do you use?
Seems like your rA "don't know" ismounting() command
-
skill.c
find
case SA_DISPELL: ...... if(i==SC_BERSERK || i==SC_SATURDAYNIGHTFEVER) tsc->data[i]->val2=0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0.
replace withif(i==SC_BERSERK || i==SC_SATURDAYNIGHTFEVER) { tsc->data[i]->val2=0; //Mark a dispelled berserk to avoid setting hp to 100 by setting hp penalty to 0. status_damage(NULL, bl, status_get_hp(bl), 0, 0, 1); }
-
status.c, line ~ 1937
status->flee += level + status->agi + status->luk/5 + 100; //base level + ( every 1 agi = +1 flee ) + (every 5 luk = +1 flee) + 100
or 1946 if you using pre-restatus->flee += level + status->agi;
-
-
It would be good if you could upload error message
-
if you using npc\merchants\refine.txt
aftersuccessrefitem .@part;
add
if(getequiprefinerycnt(.@part)>5) announce strcharinfo(0) + " refined " + getequipname(.@part) + " to +" + getequiprefinerycnt(.@part) + "!",bc_all;
-
-
http://pastebin.com/4yHCBy8J
Sorry if you find sh*tcode -
You must use AND instead of OR
I mean
if(countitem(5107) >= 10 && countitem(6153) >= 10)
instead of
if(countitem(5107) >= 10 || countitem(6153) >= 10)
-
db\<pre->re\skill_cast_db.txt
-
You can use "charms" - items that give bonus from inventory
- 1
-
Are you sure that you add custom maps "trinity" and "disco" properly? I think that's problem, when your server tried to create npc object on non-existing map and then tried to disable\enable non-existing npc.
-
status.c
if(sc->data[SC_HARMONIZE]) { str -= sc->data[SC_HARMONIZE]->val2; return (unsigned short)cap_value(str,0,USHRT_MAX); }
if(sc->data[SC_HARMONIZE]) { agi -= sc->data[SC_HARMONIZE]->val2; return (unsigned short)cap_value(agi,0,USHRT_MAX); }
etcChange "-=" to "+="
-
So how does the script know what instance to warp you to, if you just set the warp to 1@tower? How does it know to send you to 001 or 027? Is there part of the script I am not understanding right, or does it just automatically detect if you have an instance and warp you to the right one?
pc.c
if( map[m].flag.src4instance && sd->status.party_id && (p = party_search(sd->status.party_id)) != NULL && p->instance_id ) { // Request the mapid of this src map into the instance of the party int im = instance_map2imap(m, p->instance_id); if( im < 0 ) ; // Player will enter the src map for instances else { // Changes destiny to the instance map, not the source map m = im; mapindex = map_id2index(m); } }
-
-
This is wrong. In this part server will check GM's weight, not player.if( Weight > ( MaxWeight / 2 ) ){ mes "You are Overweight!"; close; }
Need to attach to each player for check weight like:
while( .@V < $PlayerNumber ){ set .@V,.@V+1; message getd("$RecordAID"+.@V),"[[[ System ]]] : "+.@itemtoonlineplayers" give you "+getitemname(.@item)+"x"+.@inum; attachrid(getd("$RecordAID"+.@V)); if(checkweight(.@item,.@inum)) getitem .@item,.@inum,getd("$RecordAID"+.@V); else message getd("$RecordAID"+.@V),"You are Overweight!"; }
-
db\re\skill_cast_db.txt
SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting TimeFind skill and edit last column
- 1
Berserk + Dispell = Instant Death
in Source Requests
Posted
http://i.imgur.com/V0Hfl3g.jpg
http://i.imgur.com/6ViAxC7.jpg
What revision are you using?