Jump to content

mkhzaleh

Members
  • Content count

    79
  • Joined

  • Last visited

  • Days Won

    2

mkhzaleh last won the day on July 16

mkhzaleh had the most liked content!

Community Reputation

12 Neutral

About mkhzaleh

  • Rank
    Pirate

Recent Profile Visitors

2,164 profile views
  1. mkhzaleh

    How do I add HD to my character?

    put it 29
  2. mkhzaleh

    Imp Item (Card)

    use this ImpsPointCard = function(Player, Item) local Name = GetChaDefaultName(Player) local ItemID = GetItemID(Item) local Points = { [19790] = 0100, -- change 19790 to your item id [19811] = 1000 } local Amount = Points[ItemID] SystemNotice(Player ,"You just got "..Amount.." points !") LG("Imps System", " Player:["..GetChaDefaultName(Player).."], used:["..GetItemName(ItemID).."], gained:["..Amount.."]") end and this error your username or password wrong since sql can't connect
  3. mkhzaleh

    Imp Item (Card)

    dm me i will share one with u
  4. mkhzaleh

    Imp Item (Card)

    try this function AddImpsPoints(Player, Amount) local AccountName = GetActName(Player) local String = "UPDATE "..SQL.GameDB.Name..".dbo.account SET mall_points = mall_points + "..Amount.." WHERE act_name = '"..AccountName.."'" local Connect, CID = LuaSQL("connect", SQL.GameDB.Host, SQL.GameDB.User, SQL.GameDB.Password) if Connect == SQL_SUCCESS_WITH_INFO then local Success, Query = LuaSQL("query", CID, String) if Success == SQL_SUCCESS_WITH_INFO then local Data = LuaSQL("fetch", CID, Query) LuaSQL("freehandle", CID, Query) LuaSQL("close", CID) elseif Success == SQL_SUCCESS then LuaSQL("freehandle", CID, Query) LuaSQL("close", CID) return -9999 end end end and this inside ItemEffect ImpsPointCard = function(Player, Item) local Name = GetChaDefaultName(Player) local ItemID = GetItemID(Item) local Points = { [19790] = 0100, -- change 19790 to your item id [19811] = 1000 } local Amount = Points[ItemID] SystemNotice(Player ,"You just got "..Amount.." points !") LG("Imps System", " Player:["..GetChaDefaultName(Player).."], used:["..GetItemName(ItemID).."], gained:["..Amount.."]") end
  5. mkhzaleh

    How do I change my quest name?

    add it to client scripts\lua\mission missioninfo.lua
  6. mkhzaleh

    Website

    in your case ".htaccess" not loading in "httpd.conf" search for AllowOverride and make it AllowOverride All
  7. mkhzaleh

    Buildings and Models disappear

    try to use @V3ct0r swing bug fix tool if are you using swing models
  8. mkhzaleh

    Get Ship ID ERROR

    you can find this inside Functions.lua
  9. mkhzaleh

    Fixing Pet Skills Bug

    @Home i tried it but this was the result another test used Expert Recover  Expert Magic  Expert Meditation for normal pets work fine without this
  10. mkhzaleh

    stall gold limit

    function Addons_gold(ignore, role, freq, time) local overflow = GetChaAttr( role , ATTR_GD ) if overflow > 1400000000 then TakeMoney(role, 0, 1400000000) --GiveItem(role, 0, 854, 18, 4) GiveItemX(role, 0, 19809, 1, 4) GiveItemX(role, 0, 19808, 4, 4) SystemNotice(role, "System changed your 1.4B Gold into 1.4B Dollar Notes!") end end Hook:AddPostHook("cha_timer", Addons_gold) try use this
  11. mkhzaleh

    stall gold limit

    it's work fine here change gold limit from 1.8b to 1.4b and try?
  12. mkhzaleh

    stall gold limit

    add this Addons_gold(ignore, role, freq, time)
  13. mkhzaleh

    GM SYSTEM BOX

    go to your client scripts\lua\forms\main open it and look for frmGM = UI_CreateForm( "frmGM", FALSE, 480, 20, 300, 545, TRUE, FALSE ) change the function there to this frmGM = UI_CreateForm( "frmGM", FALSE, 480, 20, 300, 545, TRUE, FALSE ) UI_FormSetHotKey( frmGM, ALT_KEY, HOTKEY_P ) UI_ShowForm( frmGM, FALSE ) UI_AddFormToTemplete( frmGM, FORM_MAIN ) UI_FormSetIsEscClose( frmGM, FALSE ) UI_SetIsDrag( frmGM, TRUE ) UI_SetFormStyleEx( frmGM, FORM_BOTTOM, 0, 45) imgMain3 = UI_CreateCompent( frmGM, IMAGE_TYPE, "imgMain3", 378, 61, 0, 0 ) UI_LoadImage( imgMain3, "texture/ui/gm_panel.tga", NORMAL, 378, 61, 0, 0 ) btnClose = UI_CreateCompent( frmGM, BUTTON_TYPE, "btnClose", 14, 14, 361, 3 ) UI_LoadButtonImage( btnClose, "texture/ui/PublicC.tga", 14, 14, 116, 175, TRUE ) UI_SetButtonModalResult( btnClose, BUTTON_CLOSE ) labTitle = UI_CreateCompent( frmGM, LABELEX_TYPE, "labTitle", 283, 16, 10, 3 ) UI_SetCaption( labTitle, "GM Panel") UI_SetTextColor( labTitle, 4289000470 ) UI_SetLabelExFont( labTitle, DEFAULT_FONT, TRUE, COLOR_BLACK ) edtGMSay = UI_CreateCompent( frmGM, EDIT_TYPE, "edtGMSay", 335, 13, 21, 31 ) UI_SetTextColor( edtGMSay, 4288060058 ) UI_SetLabelExFont( edtGMSay, DEFAULT_FONT, TRUE, COLOR_BLACK ) UI_SetEditCursorColor( edtGMSay, 4288060058 ) UI_SetEditMaxNum( edtGMSay, 500) UI_SetEditMaxNumVisible( edtGMSay, 500) UI_SetEditCursorColor( edtGMSay, 4288060058 ) put this photo inside your client  texture\ui
  14. mkhzaleh

    No-Exp STONE

    ExpAndLevel.lua inside ShareTeamExp ( dead , team_atker , dead_exp , The_Killer) add this before exp_up = exp_up * EXP_RAID_STATE local zeroexp = CheckBagItem( TurnToCha(t[i]) , iteminfo id "stone" ) if(zeroexp > 0)then exp_up = 0 SystemNotice(TurnToCha(t[i]),"Detected Zero Exp Item: no exp obtained") end change iteminfo id "stone to your stone id
×