-
Posts
754 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by clydelion
-
how to write bounditem2 in script?
clydelion replied to Ragnar Lothbrok's topic in Tulong para sa Script at Database
di na kailangan yung mga zero kung wala nang real number sa mga susunod na values. saka sa npc, kulang ng ; sa huli -
ALTER TABLE `login` ADD `diasvip` TINYINT(3) NOT NULL DEFAULT '30'; I think he wants this: Add a column in login table named 'diasvip' and set '30' as default value.
-
almost mid of June. i hope to see this soon. I am hoping to see some new features. Goodluck Trojal!
-
centOS works faster compared to Windows when compared with the same set of hardware. and does not hog a lot of ram.
-
no. it has an evaluation for 30 days, but you can register for free.
-
an older kro client. and ofcourse you have to diff it according to your preferences.
-
why not just use an older client?
-
Scroll of SProtect ported to Ragnarok (from Flyff)
clydelion replied to clydelion's topic in Source Releases
remove this line or change it to 20 || item->refine >= 10 // if it's no longer refineable add this too so the status is removed even if it is a success. pc_delitem(sd, i, 1, 0, 0, LOG_TYPE_OTHER); if (per > rnd() % 100) { + if(sd->sc.data[sC_SPROTECT]) + { + status_change_end(&sd->bl, SC_SPROTECT, INVALID_TIMER); + clif_displaymessage(sd->fd,"[ SProtect is no longer in effect ]"); + } log_pick_pc(sd, LOG_TYPE_OTHER, -1, item); item->refine++; not really necessary, but it is to tell the client that the refine had failed. -
Scroll of SProtect ported to Ragnarok (from Flyff)
clydelion replied to clydelion's topic in Source Releases
just a quick solution.. skill.c pc_addfame(sd,25); // Success to refine to +10 a lv2 weapon you forged = +25 fame point break; case 3: pc_addfame(sd,1000); // Success to refine to +10 a lv3 weapon you forged = +1000 fame point break; } } } else { + if(sd->sc.data[sC_SPROTECT]) + { + status_change_end(&sd->bl, SC_SPROTECT, INVALID_TIMER); + clif_refine(sd->fd,1,idx,item->refine); + clif_displaymessage(sd->fd,"[ SProtect is no longer in effect ]"); + + } else { item->refine = 0; if(item->equip) pc_unequipitem(sd,idx,3); clif_refine(sd->fd,1,idx,item->refine); pc_delitem(sd,idx,1,0,2, LOG_TYPE_OTHER); clif_misceffect(&sd->bl,2); clif_emotion(&sd->bl, E_OMG); + } } } } please tell if it works. -
so, what was the problem?
-
source code.
-
you can do this if(pc_readglobalreg(sd, "hehe") == 1){ end; }
-
we cannot limit the instances of the client to 2, but we can limit the number of online accounts per IP address.
-
How can I turn off All Items and Equip on a map?
clydelion replied to Pink Guy's question in Scripting Support
OnPCLoadMapEvent: if(strcharinfo(3) == "prontera"){ nude; toggleequip; } I feel like helping so.. add this to your script after applying this diff. noequip.diff -
lol, maybe your secret password has some ', () symbols? no?
-
Upon checking on the latest tortoisesvn, maybe the 'import' option works like that. LOL, no. HAHAHAHA
-
how can random monster summon only the area selected
clydelion replied to hakuren's question in Scripting Support
from rAthena documentation folder -
i don't think he can upgrade it without the .svn folders that tortoise recognizes.
-
How can I turn off All Items and Equip on a map?
clydelion replied to Pink Guy's question in Scripting Support
OnPCLoadMapEvent: if(strcharinfo(3) == "prontera"){ nude; //you need a source mod to prevent anymore equipment/item to be used } with that, you can strip all equipment upon entering the map specified. but won't prevent the player from re-equipping it. -
Do you know what revision you're using? If yes, download that revision then overwrite it with the server files you have right now.
-
can you upload it somewhere? so we can check if there are anything misplaced. Or you can just redownload the original file from the svn.
-
yeah it is better to leave char server running so it can save all characters.
-
find this in status.c /*========================================== * Clears buffs/debuffs of a character. * type&1 -> buffs, type&2 -> debuffs *------------------------------------------*/ int status_change_clear_buffs (struct block_list* bl, int type) { int i; struct status_change *sc= status_get_sc(bl); if (!sc || !sc->count) return 0; if (type&2) //Debuffs for( i = SC_COMMON_MIN; i <= SC_COMMON_MAX; i++ ) { status_change_end(bl, (sc_type)i, INVALID_TIMER); } for( i = SC_COMMON_MAX+1; i < SC_MAX; i++ ) { if(!sc->data[i]) continue; switch (i) { //Stuff that cannot be removed case SC_WEIGHT50: case SC_WEIGHT90: case SC_COMBO: case SC_SMA: case SC_DANCING: case SC_LEADERSHIP: case SC_GLORYWOUNDS: case SC_SOULCOLD: case SC_HAWKEYES: case SC_GUILDAURA: case SC_SAFETYWALL: case SC_PNEUMA: case SC_NOCHAT: case SC_JAILED: case SC_ANKLE: case SC_BLADESTOP: case SC_CP_WEAPON: case SC_CP_SHIELD: case SC_CP_ARMOR: case SC_CP_HELM: case SC_STRFOOD: case SC_AGIFOOD: case SC_VITFOOD: case SC_INTFOOD: case SC_DEXFOOD: case SC_LUKFOOD: case SC_HITFOOD: case SC_FLEEFOOD: case SC_BATKFOOD: case SC_WATKFOOD: case SC_MATKFOOD: case SC_FOOD_STR_CASH: case SC_FOOD_AGI_CASH: case SC_FOOD_VIT_CASH: case SC_FOOD_DEX_CASH: case SC_FOOD_INT_CASH: case SC_FOOD_LUK_CASH: case SC_EXPBOOST: case SC_JEXPBOOST: case SC_ITEMBOOST: case SC_ELECTRICSHOCKER: case SC__MANHOLE: case SC_GIANTGROWTH: case SC_MILLENNIUMSHIELD: case SC_REFRESH: case SC_STONEHARDSKIN: case SC_VITALITYACTIVATION: case SC_FIGHTINGSPIRIT: case SC_ABUNDANCE: case SC_CURSEDCIRCLE_ATKER: case SC_CURSEDCIRCLE_TARGET: continue;
-
The modification you're trying to apply is probably not compatible with the revision you're using. +1