Jump to content

Daxter

Advanced members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Daxter

  • Rank
    Cabin Boy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Is it possible to have NPCs send a static message in local chat? If so, how?
  2. Thank you for your insight. I moved the exp bonus to ShareTeamExp as suggested, and, at least until I think of an alternative, gave up on the variable stat bonuses.
  3. Hi, and thanks for the help. However, I am not running source code - is it not possible via Lua?
  4. Hi, How can level-up rewards be added? And could they be account-bound without requiring outside tracking (such as GameDB or .txt)
  5. Hi, I'm working on some "Heirloom Gear" and I wanted it to improve EXP rate while equipped. I've already added the base stat scripts into cha_timer: local Check_Heirloom = CheckItem_Heirloom ( role ) if Check_Heirloom == 1 then local str = GetChaAttr(role, ATTR_STR) local agi = GetChaAttr(role, ATTR_AGI) local con = GetChaAttr(role, ATTR_CON) local spr = GetChaAttr(role, ATTR_STA) local acc = GetChaAttr(role, ATTR_DEX) local lv = GetChaAttr(role, ATTR_LV) if lv <= 20 then local str2 = GetChaAttr(role, ATTR_STR) + 1 local agi2 = GetChaAttr(role, ATTR_AGI) + 1 local con2 = GetChaAttr(role, ATTR_CON) + 1 local spr2 = GetChaAttr(role, ATTR_STA) + 1 local acc2 = GetChaAttr(role, ATTR_DEX) + 1 SetCharaAttr(str2, role, ATTR_STR ) SetCharaAttr(agi2, role, ATTR_STR ) SetCharaAttr(con2, role, ATTR_STR ) SetCharaAttr(spr2, role, ATTR_STR ) SetCharaAttr(acc2, role, ATTR_STR ) (...) I tried looking at amplifier of strive in itemeffects but the added state wasn't clear to me, nor could I find any references to it: function ItemUse_WeiXing( role , Item ) local statelv = 1 local ChaStateLv = GetChaStateLv ( role , STATE_SBJYGZ ) if ChaStateLv > statelv then SystemNotice ( role , "Better fruit in effect. Please use it later" ) UseItemFailed ( role ) return end local lv_star = GetChaAttr( role , ATTR_LV) if lv_star > 40 then SystemNotice ( role , "Effective only for those below Lv 40" ) UseItemFailed ( role ) return end local statetime = 60+5*(lv_star-1) local Cha_Boat = 0 Cha_Boat = GetCtrlBoat ( role ) if Cha_Boat == nil then AddState( role , role , STATE_SBJYGZ , statelv , statetime ) else AddState( Cha_Boat , Cha_Boat , STATE_SBJYGZ , statelv , statetime ) end end Any ideas? EDIT: This script is untested, and as I wrote this I got to wonder whether it would stack infinitely, increasing everytime cha_timer runs. Would it be better to built the bonus stats as if it were a fairy of sorts, and if so, how to go about it?
  6. Thanks, that's a lot clearer now. When you mention GameServer scripts, are you referring to the source code? I'm not very knowledgeable in C++, so I admit i haven't looked into it Right, but there's nothing like a list of outcomes to consult? So I'll have to look it up in other scripts? For instance, the level 40+ Newbie Chest: function ItemUse_XRBOX7( role, Item ) local job = GetChaAttr(role, ATTR_JOB) local lv = GetChaAttr(role, ATTR_LV) local cha_type = GetChaTypeID ( role ) local cha_type = GetChaTypeID ( role ) local Item_CanGet = GetChaFreeBagGridNum ( role ) if Item_CanGet < 5 then SystemNotice(role ,"To open a Newbie Chest requires 5 empty slots") UseItemFailed ( role ) return end if lv < 40 then SystemNotice(role ,"Currently lower than Lv 40. Unable to use item!") UseItemFailed ( role ) elseif job == 9 then GiveItem ( role , 0 , 450 , 1 , 4 ) GiveItem ( role , 0 , 295 , 1 , 95 ) GiveItem ( role , 0 , 4 , 1 , 95 ) GiveItem ( role , 0 , 302 , 1 , 95 ) local r1,r2 =MakeItem ( role , 22 , 1 , 11 ) local Item1 = GetChaItem ( role , 2 , r2 ) Serpentine Sword (ID 4) comes gemmed from the chest, meaning Item Quality 95 = random basic gem? And if I were to change the possible gems to include when quality = 95, would that be defined in a script or is defined via GameServer?
  7. Bump Can anyone help with (at least) the item quality part? Function name, or list of values. From what I've gathered 4 seems to be the default, but there's also 96? And from 101+ it's used for gem levels
  8. Daxter

    Create a Quest

    Does this mean that an entry has to be added to each possible character level? Can't a variable be set to get the character's level, then use math.random to pick the mobs to kill instead?
  9. Hi, I have two questions to which need help understanding: What is the difference between MakeItem and GiveItem? Give takes one more parameter, but how relevant is that? Is there any place I can find all "codes" for item attributes, like 16 is for rightful BD equips, etc?
  10. 2943 Pass to Tauras Gate n1795 10130005 0 0 0 0 0 0 42 0 0 0 0 0 0 0 0 0 1 0 0 -1,-2,-2,-2 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 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 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 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 Required item to enter Taurus Palace 0 3027 Gemini Gate Ticket n1848 10130005 0 0 0 0 0 0 42 0 0 0 0 0 0 0 0 0 1 0 0 -1,-2,-2,-2 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 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 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 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 Prove to enter Gemini Palace 0 Neither of these seem to have any function associated with them; neither was I able to find any references in the MissionScript files. If anyone has any hints, I'd greatly appreciate it!
  11. Hello, I'm looking for the Horoscope quests, if they do exist - I've only been able to find the Aries Quest. My server files are version 1.36, in case that's relevant. Thank you in advance!
  12. I have the same issue. Game Info (your app) says "Incorrect format of file Game.exe!" and when i choose the "build timestamp" option it returns "1235551950". I'm aware this timestamp doesn't match any of the ones in your post, but isn't 1.38 supported? Or is it that gameserver v1.38 =/= client v1.38?
  13. Can anyone share these files please? Link no longer works
  14. I've managed to find this regarding boats: However, I'm still at a loss for the remaining questions, so any help is welcome
×
×
  • Create New...