3 scripting ?S menu

User Tag List

Results 1 to 6 of 6
  1. #1
    runiker's Avatar Contributor
    Reputation
    105
    Join Date
    Nov 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    3 scripting ?S

    ok i now alot of lua but little C++ so i dont know if these are even possible

    but how about an item that teles you to one place at ngiht and a diff at daytime

    the next up is an item that is just like a trainer and can train you anythign i wanna use this for like the sub proffs taht you may only have one learned at a time

    3 scripting ?S
  2. #2
    *TraPStaR*'s Avatar Contributor
    Reputation
    164
    Join Date
    Aug 2007
    Posts
    275
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here's a sql update for the professions thing you need

    just open note pad copy paste the text and save as profession update.sql don't forget the .sql at the end then go into navacate or mysql and restore from sql dump

    Code:
    update `trainer_spells` set is_prof = 0 where is_prof = '1';

  3. #3
    vb4evr's Avatar Member
    Reputation
    22
    Join Date
    Oct 2007
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know for sure the profession portion is possible. It will be a fairly large script though. This is the code to check if players class is a mage
    Code:
    if (Plr->getClass() == 8)
    For your first one, I believe it is possible in theory. But I unfortunately do not know the function/method to check for what time of day. I would love to know if this is possible as it has many interesting possibilities for the custom classes that I am working on right now.

    EDIT:
    Was looking around the ascent core files and there is a function. I am not sure if this would work off the top of my head. Do not have time to attempt. But I would approach it like this. This should return the game time
    Code:
    sWorld.GetGameTime();

    Hopefully this helps you out Runiker
    Last edited by vb4evr; 03-08-2008 at 11:37 AM. Reason: Edited Game Time code

  4. #4
    runiker's Avatar Contributor
    Reputation
    105
    Join Date
    Nov 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you guys got me all wrong first i want an ITEM that that teachs the SUB prof's and only them beacuse they still only aloww one or the other i am making this for my lvl 100s on my sever would love the sorce codes for somthing like this

  5. #5
    ~SaiLyn~'s Avatar Contributor
    Reputation
    280
    Join Date
    Aug 2007
    Posts
    546
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ^^^^^^^^ ( filler )

  6. #6
    vb4evr's Avatar Member
    Reputation
    22
    Join Date
    Oct 2007
    Posts
    113
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My bad on the professions thing. But I've just confirmed the code for night/day to be working. I'm just finishing up the conversions but this will return a digit that is in seconds I believe, when I started my server it was 33783 which I then divide by 3600 to get the hour 9. So the first two lines you could use and then put it into a test.

    time_t hour;
    hour = sWorld.GetGameTime();
    Edit: No I do not believe this is returning the proper value. Believe this is returning local time. Back to the drawing board. Sorry Runiker.
    Last edited by vb4evr; 03-09-2008 at 10:35 AM.

Similar Threads

  1. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft General
    Replies: 22
    Last Post: 11-03-2006, 02:30 PM
  2. Can somone script this for me pleasE?
    By Delth3n in forum Community Chat
    Replies: 0
    Last Post: 10-10-2006, 06:03 PM
  3. Im Looking For A /script Macro... Plz Help
    By codycondame in forum World of Warcraft General
    Replies: 0
    Last Post: 10-05-2006, 02:04 PM
  4. Any Anti AFK Scripts available?
    By paboee in forum World of Warcraft General
    Replies: 2
    Last Post: 08-30-2006, 09:11 AM
  5. [Program] WoW Jumper AntiAFK Script
    By Cypher in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 06-23-2006, 10:38 PM
All times are GMT -5. The time now is 02:19 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search