+ Reply to Thread
  1. #1
    FLE
    Senior Member FLE's Avatar
    Join Date
    Oct 2008
    Location
    Vancouver Canada
    Posts
    204
    Reputation
    FLE is on a distinguished road
    Status
    FLE is offline

    Challenge for skilled scripter!

    Hey im looking for a script that will push a player back to x location if they try to enter y portal...


    The point of the portal is to prevent botting in my new players area... where it is non pvp.....

    and maybe even a script that will kick the player from the noob area when he reaches a certain level?

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    652
    Blog Entries
    2
    Reputation
    kokokoko is on a distinguished road
    Status
    kokokoko is offline
    Although i don't really get what you want this for, since this will stop all players from entering the portal, but here you go lol

    This content is only visible to registered users.
    Feel free to REP++ me if i helped you!

  3. #3
    Peeerryyy..(8)! darkhaos's Avatar
    Join Date
    Apr 2008
    Location
    Venezuela
    Posts
    927
    Reputation
    darkhaos is on a distinguished road
    Status
    darkhaos is online now


  4. #4
    FLE
    Senior Member FLE's Avatar
    Join Date
    Oct 2008
    Location
    Vancouver Canada
    Posts
    204
    Reputation
    FLE is on a distinguished road
    Status
    FLE is offline
    hey guys, can u explain a little more how to use these 2 scripts.

    and btw thanks, they look great!


    like movements/actions .. please and thank you, but im amazed the script looks exactly wat im looking for :P

    you're good !

  5. #5
    Peeerryyy..(8)! darkhaos's Avatar
    Join Date
    Apr 2008
    Location
    Venezuela
    Posts
    927
    Reputation
    darkhaos is on a distinguished road
    Status
    darkhaos is online now
    Create a file called tp_back.lua in data/movements/scripts and add this:
    This content is only visible to registered users.

    Add this to data/movements/movements.xml
    This content is only visible to registered users.

    Explain: If player try to enter in a teleport (with actionid 12000) and if he does not have a storage (65535) then he can't enter.

    Other script
    Create a file called level_tp.lua in data/creaturescripts/scripts and add this:
    This content is only visible to registered users.

    Add this to data/creaturescripts/creaturescripts.xml
    This content is only visible to registered users.

    Now add this in data/creaturescript/scripts/login.lua
    (Under function onLogin(cid))
    This content is only visible to registered users.

    Explain: If player reaches the level limit(100) and is in an area (noobArea) then he will be teleported to other position

    This content is only visible to registered users.

    Example:


  6. #6
    Banned User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    4,176
    Reputation
    Master-m is on a distinguished road
    Status
    Master-m is offline
    You need to only place a teleport without coordinates and teleport using lua. Else it will bug big..

  7. #7
    FLE
    Senior Member FLE's Avatar
    Join Date
    Oct 2008
    Location
    Vancouver Canada
    Posts
    204
    Reputation
    FLE is on a distinguished road
    Status
    FLE is offline
    Hey thanks so much man this is so pro

    repped+!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts