![]() |
Infamous, tileset/NPC trouble..
Hello, I would like some help from the global script team, there seems to be a problem with the NPC-Server on infamous...
I created a weapon, -System/Core and placed in it the following code: PHP Code:
Mind me if there is some stupid mistake i made, having some IRL trouble and am not really myself right now... |
Quote:
of course, you can make it triggerServer, doesn't matter xD |
make sure that the weapon is being added to the players upon login.
|
Quote:
|
Quote:
|
It is being added, and the triggerserver isn't important, just a way to see if onCreated() was being called, it's the addtiledef() that is important.
|
use "/find pokeSMOT_InfamousTiles.png" in rc, to check if it's found and/or downloadable
|
Generally don't use capitalization in Graal file names.
I would change the gmap so it doesn't use capitalization as well. And also, REMOVE THE LOADMAP! That is for offline only! IT SHOULDN'T BE USED ON A SERVER! Add the name of the gmap to gmaps= in the server options. And I've found that removeTileDefs() only seems to work if you put a "" inside, but they may have fixed it. |
Well it's been said, make sure the player actually has the weapon(it's case sensitive, by the way). You can't put 'Weapon' in the players weapon list when the weapon is called 'weapon'.
Also, you can easily check and see if onCreated is being called by putting player.chat="test" in there. |
Quote:
|
I didn't add the loadmap, it was questionable to me, but i thought poke had his reasons :P
Anyways ill try what you guys said and see if it works... Edit: I checked, it is there AND downloadable, then i checked my graal/levels/tiledefs folder, the tile set isn't even being set. |
are you sure that the weapon is being added to the player?
|
This is because (I think) the tiles are not named properly. Tiles have to have the word 'tileset' in there name for them to load to the Graal folder properly. Try re-naming the tiles to 'pokesmot_infamous-tileset1.png' or soemthing along those lines.
|
no, not true.
My tileset was always named something along the lines of quian_new.png or w/e |
warmaster, try to catch me on AEON sometime, and I'll be glad to help you out personally.
|
Quote:
Quote:
|
Quote:
Quote:
And another thing, there is no reason for loadmap to be just for offline considering: Quote:
|
Quote:
|
Quote:
|
Hmm? I don't remember saying anything like that.
|
I would recommend using this.name instead of just 'name' I had a case where using that actually fixed an odd bug which I believe was with the engine itself.
Quote:
Quote:
By the way, if you're going to leave me negative rep, be nice and leave your name. :D |
| All times are GMT +2. The time now is 05:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.