Jump to content

DangThao

Community
  • Content Count

    256
  • Joined

  • Last visited

  • Days Won

    18

DangThao last won the day on February 9

DangThao had the most liked content!

Community Reputation

64 Good

5 Followers

About DangThao

  • Rank
    First Mate

Recent Profile Visitors

6,031 profile views
  1. Give your database base permission inside your database folder. Root > Database > right click property those .mdf and .ldf file; AccountServer_Data.mdf, AccountServer_Data.ldf and so on...
  2. Most developer gets this error. Make sure you give permission to your database via property options when you right clicked it. After it, attach your database again and it should works finely.
  3. Please be specific here so we know what you want to be done too 0.<
  4. Hey Guys, Someone can give scripts for show monster drop items and the percentage via helpinfo? There is a script for NPC Drop Manager but i want to include monster drops and percentage into the skill Eye of Wisdom. Thanks.
  5. Try to check your lua_err. it should shows in there.
  6. I think you trying to say how to match your client to your server? Mainly just compile your server file .txt file and copy the .bin files and replace with your client>scripts>table and paste in there and replace all. If you missing a texture or model, you can find the missing model number of the equipment/gear from your iteminfo and find the missing models/gear from other client and paste into your client in the corresponding folder and restart your client and it should works.
  7. All of those stuff are located inside forge.lua. Find the function you are using and then find the money cost for it. Like this: function begin_forge_item(...) -- Notice("Start to forge") local Check_CanForge = 0 Check_CanForge = can_forge_item_main ( arg ) if Check_CanForge == 0 then return 0 end local role = 0 local ItemBag = {} --µÀ¾ß±³°üλÖà local ItemCount = {} --µÀ¾ßÊýÁ¿ local ItemBagCount = {} --µÀ¾ß¶ÔÏóÊýÁ¿ local Get_Count = 4 local ItemReadCount = 0 local ItemReadNow = 1 local ItemReadNext = 0 local ItemBag_Num = 0 local ItemCount_Num = 0 local ItemBagCount_Num = 0 role , ItemBag , ItemCount , ItemBagCount , ItemBag_Num , ItemCount_Num , ItemBagCount_Num = Read_Table ( arg ) local ItemBag_Jinglian = ItemBag [0] local Item_Jinglian = GetChaItem ( role , 2 , ItemBag_Jinglian ) local Item_Stone1 = GetChaItem ( role , 2 , ItemBag [1] ) local Item_Stone2 = GetChaItem ( role , 2 , ItemBag [2] ) local Check_Jinglian_Item = 0 local Money_Need = getforge_money_main ( arg ) local Money_Have = GetChaAttr ( role , ATTR_GD ) -- Notice ("Currently there are"..Money_Have.."So much gold") -- Notice ("Must deduct"..Money_Need.."So much gold") Money_Have = Money_Have - Money_Need SetCharaAttr ( Money_Have , role , ATTR_GD ) ALLExAttrSet( role ) See where Local Money_Need = getforge_money_main ( arg ), it refers to the function where the cost will be calculate it. Like: function getforge_money_main ( Table ) local role = 0 local ItemBag = {} --µÀ¾ß±³°üλÖà local ItemCount = {} --µÀ¾ßÊýÁ¿ local ItemBagCount = {} --µÀ¾ß¶ÔÏóÊýÁ¿ local Get_Count = 4 local ItemReadCount = 0 local ItemReadNow = 1 local ItemReadNext = 0 local ItemBag_Num = 0 local ItemCount_Num = 0 local ItemBagCount_Num = 0 role , ItemBag , ItemCount , ItemBagCount , ItemBag_Num , ItemCount_Num , ItemBagCount_Num = Read_Table ( Table ) local ItemBag_Jinglian = ItemBag [0] local Item_Jinglian = GetChaItem ( role , 2 , ItemBag_Jinglian ) local Jinglian_Lv = 0 Jinglian_Lv = GetItem_JinglianLv ( Item_Jinglian ) Jinglian_Lv = Jinglian_Lv + 1 local Money_Need = Jinglian_Lv * 100000 -- Notice("Calculation completed") return Money_Need end See whereas local Money_Need = Jinglian_Lv * 100000, it means it will be the plus (+1 = 1 * 100000, +2 = 2 * 100000 and so on). Jinglian_lv = the current forge level your gear will be after forge. If you hate finding stuff like these, after you finds all the cost, make a variable for it and call through that. So you don;t have to find again and again every time you want to change the price.
  8. Go to root>resource>script>calculate>exp_and_level.lua 1) Find: exp = exp + exp_up 2) Add this below local ItemID = 3457 -- ID of Stone No EXP if (CheckBagItem(t[i], ItemID) > 0) then exp = 0 --SystemNotice( TurnToCha(t[i]), "No experience point is gained.") return end Make sure to change the ItemID to your no exp stone. RN it disabled the notice to the player. You can enabled by remove the --.
  9. Same problem. https://ibb.co/Wn2y06x
  10. Tested with sql 2014 express, clean client and server file = same problem. need relog or ticket out to refresh the stats of gemmed equipment on the character attributes. HELP???
  11. Weird, i even try with random file and still same problems. could it be my GS? or DB messed up?
×
×
  • Create New...