Jump to content

ProTecTion

Advanced members
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by ProTecTion


  1. 5 hours ago, Graf said:

    Hi. Share code npc. 

    function r_ship1337()

        Talk( 1, " Shirley: Hi! I am the Harbor Operator for Argent City. I am in charge of all ships that is docked in this harbor. Look for me if you want to set sail." )

     

        InitTrigger()

        TriggerCondition( 1, HasAllBoatInBerth, 1 )

        --TriggerAction( 1, RemoveYS )

        TriggerAction( 1, LuanchBerthList, 1, 160,163, 177 )

        TriggerFailure( 1, JumpPage, 3 )

        Text( 1, "Set sail", MultiTrigger, GetMultiTrigger(), 1 )

        InitTrigger()

        TriggerCondition( 1, HasLuanchOut )

        TriggerAction( 1, RepairBoat )

        TriggerCondition( 2, HasBoatInBerth, 1 )

        TriggerAction( 2, RepairBerthList, 1 )

        TriggerFailure( 2, JumpPage, 4 )

        Text( 1, "Repair Ship", MultiTrigger, GetMultiTrigger(), 2 )

        InitTrigger()

        TriggerCondition( 1, HasLuanchOut )

        TriggerAction( 1, SupplyBoat )

        TriggerCondition( 2, HasBoatInBerth, 1 )

        TriggerAction( 2, SupplyBerthList, 1 )

        TriggerFailure( 2, JumpPage, 5 )

        Text( 1, "Refuel", MultiTrigger, GetMultiTrigger(), 2 )

        InitTrigger()

        TriggerCondition( 1, HasDeadBoatInBerth, 1 )

        TriggerAction( 1, SalvageBerthList, 1 )

        TriggerFailure( 1, JumpPage, 6 )

        Text( 1, "Salvage Ship", MultiTrigger, GetMultiTrigger(), 1 )

     

        Talk( 3, "Sorry, you do not have a ship at the harbor or it was sunken. Please salvage it before setting sail again!" )

        Talk( 4, "Sorry! I only repair ships docked in this harbor. Please pay 1000G." )

        Talk( 5, "Sorry, you need to dock your ship in our harbor in order to refuel. Please pay 200G" )

        Talk( 6, "Sorry! We only salvage ships docked in our harbor. You have to pay a fee of 1000G." )

     

        AddNpcMission ( 294 )

        AddNpcMission ( 295 )

     

    end

     

    @Graf


  2. 16 minutes ago, DangThao said:

    Mapinfo line of the new map, resource > mapfolder + everything need it, Scriptdefine line, birth_conf, groupserver.cfg manage to custom map, string set line to edit: 
    [39]    "Argent City"
    [40]    "Shaitan City"
    [41]    "Icicle Castle"
    [42]    "You must select Argent City \n as starting town?"
    [43]    "You must select Shaitan City \n as starting town?"
    [44]    "You must select Icicle Castle \n as starting town?"

    To like your custom map or an exist map. Make sure everything is done correctly otherwise it will not work (u can still login but wont able to complete character creation due to birth error).

    Yes you can change all 3 main city into 3 different map or just one, the more u change, the more work need to be done even though repeating the same steps =D.

    **Note: If your mapinfo line is over your gs/game.exe mapinfo limit, then you can do direct bin compile, check Lucky's Archive. Make sure your game.exe is compatible with it too otherwise u wont able to do direct compile. Good Luck

     

    i did Every Thing But it Still Spawn Me at Argent still lol?

    test.PNG

×
×
  • Create New...