I can't seem to really figure this out. Everything works fine except the putnewcomp. It works fine in offline mode but when it is on a p2p server it doesnt work. As it is it does nothing, put #CLIENTSIDE before it and it disconnects me with that illegal info crap. What do I do? It isnt a graphic problem cause I added setimg to it and it showed the proper image for the baddies so, the images are on the server but baddies WILL NOT SHOW. Please help. Heres the script:
// NPC made by SaijinGohan
if (created || initialized){
putnewcomp lizardon,42,58,norin_forestbaddy.png,5;
putnewcomp lizardon,56,50,norin_forestbaddy.png,5;
putnewcomp lizardon,51,18,norin_forestbaddy.png,5;
putnewcomp octopus,36,44,norin_forestspider.png,5;
putnewcomp octopus,56,37,norin_forestspider.png,5;
putnewcomp octopus,60,14,norin_forestspider.png,5;
}
//#CLIENTSUDE
if (created) {
seteffect 0,.1,0,0.44;
setmap norin-baddyrealm1_bigmap.png,norin_baddyrealm1.txt,mapx, mapy;
} |