Jump to content

clydelion

Members
  • Posts

    754
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by clydelion

  1. di na kailangan yung mga zero kung wala nang real number sa mga susunod na values. saka sa npc, kulang ng ; sa huli
  2. 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.
  3. clydelion

    GorgonCP

    almost mid of June. i hope to see this soon. I am hoping to see some new features. Goodluck Trojal!
  4. centOS works faster compared to Windows when compared with the same set of hardware. and does not hog a lot of ram.
  5. no. it has an evaluation for 30 days, but you can register for free.
  6. an older kro client. and ofcourse you have to diff it according to your preferences.
  7. why not just use an older client?
  8. 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.
  9. 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.
  10. so, what was the problem?
  11. you can do this if(pc_readglobalreg(sd, "hehe") == 1){ end; }
  12. we cannot limit the instances of the client to 2, but we can limit the number of online accounts per IP address.
  13. OnPCLoadMapEvent: if(strcharinfo(3) == "prontera"){ nude; toggleequip; } I feel like helping so.. add this to your script after applying this diff. noequip.diff
  14. lol, maybe your secret password has some ', () symbols? no?
  15. Upon checking on the latest tortoisesvn, maybe the 'import' option works like that. LOL, no. HAHAHAHA
  16. i don't think he can upgrade it without the .svn folders that tortoise recognizes.
  17. 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.
  18. Do you know what revision you're using? If yes, download that revision then overwrite it with the server files you have right now.
  19. 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.
  20. yeah it is better to leave char server running so it can save all characters.
  21. 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;
  22. The modification you're trying to apply is probably not compatible with the revision you're using. +1
×
×
  • Create New...