Jump to content

Rafael

Advanced members
  • Content Count

    16
  • Joined

  • Last visited

Posts posted by Rafael


  1.  

     

    12 minutes ago, FapFap said:

    use password 123456789 on SQL and go to Login>sa and add permissions to AccountServer/GameDB then try again, also copy ur SQL Instance name on SQL and paste at db_ip on cfg.. if it isn't same

    I cant use sa, then i creat another one, but still same... (password 123456789 too)


    image.png.6091a1aad9f400481ab74a5fde274824.png

    i tried with "master" too

    image.png.57dcaa3a4f359b4925f9e9624454d103.png
     


  2. Account, Group and gateserver works perfectly, but when i open gameserver he close immediately. I try with many gameserver.exe and .cfg
    any ideia what happens?

    Mensage in LOG>init.txt

    [02-02 17:40:03]Define __CATCH
    [02-02 17:40:03]game map server [] startup...
    [02-02 17:40:03]start initialization GameApp
    [02-02 17:40:03]Load Game Config File(Text Mode) [GameServer.cfg]
    [02-02 17:40:03]initialization DB...
    [02-02 17:40:03]database init...Fail!
    [02-02 17:40:03]GameApp initialization failed, exit!
     

     

    image.png.900b6b0af6a6457a3168559f1bccc797.png


  3. @Ximboliex

     


    function dd_dd()
        Talk( 1, "dddddddd" )


         AddNpcMission(7783) 

    end

     

    its work the random, but when i finish the quest still with the same quest, just change with "updateall"
    its like this now:

     

     MOB1 ={}
         MOB1[1] = 237 
         MOB1[2] = 298
         MOB1[3] = 225
         MOB1[4] = 252
         MOB1[5] = 93
         local a = math.random(1,5)
      MOB2 ={}
         MOB2[1] = 62 
         MOB2[2] = 100
         MOB2[3] = 101
         MOB2[4] = 203
         MOB2[5] = 45
         local b = math.random(1,5)
      MOB3 ={}
         MOB3[1] = 83 
         MOB3[2] = 266
         MOB3[3] = 46
         MOB3[4] = 130
         MOB3[5] = 281
         local c = math.random(1,5)

        DefineMission( 7783, "Travel of Gold", 6089 )

        MisBeginTalk( "Kill all this mobs and i go give you my Necklace" )
        

        MisBeginAction(AddMission, 6089)
        MisBeginAction(AddTrigger, 60891, TE_KILL, MOB1[a] , 10 )
        MisBeginAction(AddTrigger, 60892, TE_KILL, MOB2 , 10 )
        MisBeginAction(AddTrigger, 60893, TE_KILL, MOB3[c] , 10 )

        MisCancelAction( ClearMission, 6089)

        MisNeed(MIS_NEED_DESP, "<Good Luck!> ")
        MisNeed(MIS_NEED_KILL,MOB1[a] , 10, 10, 10 )
        MisNeed(MIS_NEED_KILL,MOB2 , 10, 20, 10 )
        MisNeed(MIS_NEED_KILL,MOB3[c] , 10, 30, 10 )

        MisPrize(MIS_PRIZE_MONEY, 500000, 1)
        MisPrizeSelAll()

        MisResultTalk("Nice, you follow my words! Here is the Necklace.")
        MisHelpTalk("In Forgotten Island you can find this mobs.")
        MisResultCondition(HasMission, 6089)
        MisResultCondition(HasFlag, 6089, 19 )
        MisResultCondition(HasFlag, 6089, 29 )
        MisResultCondition(HasFlag, 6089, 39 )
        MisResultAction(ClearMission, 6089 )
        MisResultBagNeed(1)

        InitTrigger()
        TriggerCondition( 1, IsMonster,MOB1[a] )
        TriggerAction( 1, AddNextFlag, 6089, 10, 10 )
        RegCurTrigger( 60891 )

        InitTrigger()
        TriggerCondition( 1, IsMonster,MOB2 )
        TriggerAction( 1, AddNextFlag, 6089, 20, 10 )
        RegCurTrigger( 60892 )


        InitTrigger()
        TriggerCondition( 1, IsMonster,MOB3[c] )
        TriggerAction( 1, AddNextFlag, 6089, 30, 10 )
        RegCurTrigger( 60893 ) 
        


  4. I need help, i m when i use the buff for chat handle no work! the buffs come but dont give stats, just with buff note, what i can do?

     

    using with another NPC (together)
          Talk (15, "Im Buffer page, if you want buff, you need pay me 100k!.")
         Text (15, "Buff me!", buff)
         Text (15, "Nevermind", CloseTalk)

    Chat Handle Function
    ------------------------

    function buffnpc(role,message)
        local ret, npc = GetEudemon()
        local name = GetCharName(npc)
       
        if name == "System" then
            JumpPage(role, npc, NpcInfoList[15].page, 15)
        else
            JumpPage(role, npc, NpcInfoList[NpcInfoList.count].page, 15)

    end

    end

     

    Function

    ------------------------

    function buff (role)

    local money = HasMoney (role, 100000)

    if money == 0 then
    SystemNotice (role, "Do you have enough gold!")
    end


    local StateType = GetChaStateLv (role, STATE_XLZH)
    local StateType = GetChaStateLv (role, STATE_SHPF)
    local StateType = GetChaStateLv (role, STATE_TSHD)
    local StateType = GetChaStateLv (role, STATE_MLCH)
    local StateType = GetChaStateLv (role, STATE_FZLZ)
    if StateType == 0 then
    AddState (role, role, STATE_XLZH, 10, 600)
    AddState (role, role, STATE_SHPF, 10, 600)
    AddState (role, role, STATE_TSHD, 10, 600)
    AddState (role, role, STATE_MLCH, 10, 600)
    AddState (role, role, STATE_FZLZ, 10, 600) 


    TakeMoney (role, nil, 100000)
    SystemNotice (role, "You are buffed!")

    end
    end

×
×
  • Create New...