Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-12-2006, 10:43 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Perhaps it is not loading the tiledefs right then, you should try debugging it with some echo() in the playerenters

ie:

PHP Code:
function onPlayerEnters(){
  echo(
"welcome to the room");

enter the room normally and by logging on and appearing in that room and seeing if it echo's that

btw, echo is your best friend for debugging, use it.
Reply With Quote
  #2  
Old 07-12-2006, 10:49 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by Warcaptain
Perhaps it is not loading the tiledefs right then, you should try debugging it with some echo() in the playerenters

ie:

PHP Code:
function onPlayerEnters(){
  echo(
"welcome to the room");

enter the room normally and by logging on and appearing in that room and seeing if it echo's that

btw, echo is your best friend for debugging, use it.
Oddly enough, that worked both serverside and clientside. However, I've had difficulty using playerenters when trying to add weapons to a player entering the level.
Reply With Quote
  #3  
Old 07-13-2006, 01:54 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Bl0nkt
Oddly enough, that worked both serverside and clientside. However, I've had difficulty using playerenters when trying to add weapons to a player entering the level.
That is because Era's login routine clears weapons out and readds them as necessary during logon. You are probably adding them before the routine finishes.
__________________
Skyld
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.