Jump to content

Remix

Inactive Member
  • Posts

    141
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Remix

  1. You can test easily what math.random(100) returns with Lua 5.0 Just use this check output: syschat(math.random(100)) I tried it again in Lua 5.2 and i just got a 1 all the time.
  2. If you type just 1 argument in math.random it returns 1. On this way it should work: math.random(1,100)
  3. Also, delete the last coma of your table. Why? Because I've never got a quest/lua script working with a coma at the end of a lua table. E.g: table = {{1,2},{3,4},{5,6},} -> never worked, at least for me.
  4. Did you reload the player tables ingame?
  5. Nobody is able to help you if you don't say which type the box has.
  6. Does the box have the right item type?
  7. Also, delete the last coma of your table. Why?
  8. If you split the maps on a smart way it might be usefull
  9. Not exactly. d.new_jump starts a new dungeon too But you must be on the same core. "May 29 02:42:01 :: PRIVATE_MAP: 3540003 created (original 354)" As you can see, it created a new instance. Np, callmax. I love it to help noobs with their problems. Just try a elif statement - it should work too. is it possible to allow the same map many time par core? Yes. You can create up to 10.000 instances for a dungeon at the same time on each map.
  10. Not exactly. d.new_jump starts a new dungeon too But you must be on the same core. "May 29 02:42:01 :: PRIVATE_MAP: 3540003 created (original 354)" As you can see, it created a new instance. Np, callmax. I love it to help noobs with their problems. Just try a elif statement - it should work too.
  11. It's nice to participate in this team. The administration has many interesting ideas. I hope we can show more interesting features soon.
  12. int get_x() { return CQuestManager::instance().GetCurrentCharacterPtr()->GetX(); } int get_y() { return CQuestManager::instance().GetCurrentCharacterPtr()->Get>(); } For the timer you can look how it's defined at the timer functions in the questlua codes.
  13. Remix

    Windows QC Gui

    That's not very difficult. Just append the output in a textarea with a win32 form. But what's the advantage?
  14. For php coding it's better because of the existing plugins. For questwriting it just gets on (my) nervs
  15. The privileges won't change something, the db core isn't able to connect to mysql. Maybe mysql isn't running?
  16. SYSERR: May 3 12:55:06 :: ChildLoop: AsyncSQL: query failed: Incorrect integer value: 'Y' for column 'is_gm' at row 1 (query: INSERT INTO loginlog2(type, is_gm, login_time, channel, account_id, pid, ip, client_version) VALUES('INVALID', 'Y', NOW(), 1, 52189, 57846, inet_aton('213.104.150.58'), '') errno: 1366) SYSERR: May 3 12:55:06 :: ChildLoop: MySQL connection was reconnected. querying locale set SYSERR: May 3 12:55:44 :: RunState: LUA_ERROR: locale/germany/quest/questlib.lua:2518: attempt to call global `mysql_query' (a nil value) SYSERR: May 3 12:55:44 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_max11.start click SYSERR: May 3 12:55:56 :: RunState: LUA_ERROR: locale/germany/quest/questlib.lua:2518: attempt to call global `mysql_query' (a nil value) SYSERR: May 3 12:55:56 :: WriteRunningStateToSyserr: LUA_ERROR: quest lvl_max11.start click You didn't implemented the mysql query function
  17. select name,level from player.player order by level desc,exp desc; function getHighestLevel() return tonumber(mysql_query("select level from player.player order by level desc,exp desc;")[1][1]) or 0 end function highestLevelPlayer() return mysql_query("select name from player.player order by level desc,exp desc;")[1][1]) or "" end
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.