Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   gmap error (https://forums.graalonline.com/forums/showthread.php?t=86799)

GULTHEX 07-09-2009 09:19 PM

gmap error
 
Script: Function loadmap not found at line 1 in script of npcs[3] (in level Dragon_02-02.nw at pos (45, 39))


it says that

it doesent think its a function

when i put it online

:(


what should i do i read the gmap guide

it dont say anything

cbk1994 07-09-2009 09:49 PM

loadmap is a clientside script, not a serverside script. If you've got the gmap in gmaps= in server options, you generally don't need to use loadmap.

Bell 07-09-2009 10:20 PM

Make sure and remove the bigmap txt stuff from server ops too. Its not needed and just messes things up.

GULTHEX 07-09-2009 11:05 PM

I removed the bigmap stuff

and when i go on the gmap its not being a gmap

just single levels

iv done it before like 30 times

and for some reason its just not working

Crow 07-09-2009 11:29 PM

Quote:

Originally Posted by cbk1994 (Post 1505636)
loadmap is a clientside script, not a serverside script. If you've got the gmap in gmaps= in server options, you generally don't need to use loadmap.

loadmap(string) can be used to pre-load a map, speeding up things when starting in an inside level and entering the map later ;)

Angel_Light 07-10-2009 09:26 AM

loadmap used online, usually screws up gmaps for me. I always make sure to remove it before loading it to my server. I only use it offline. I just setup gmaps through the server options

cbk1994 07-10-2009 09:58 AM

Quote:

Originally Posted by Angel_Light (Post 1505855)
loadmap used online, usually screws up gmaps for me. I always make sure to remove it before loading it to my server. I only use it offline. I just setup gmaps through the server options

Fairly certain you can just put the GMAP name (one per line) in loadmaps.txt in your Graal directory.

DustyPorViva 07-10-2009 05:17 PM

If you need loadmaps offline, do as Chris said or simply make sure you use it clientside. Running it clientside can also speed up the loading for players as well.


All times are GMT +2. The time now is 08:33 PM.

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