Need help with starting pol Linux

A special collection of guides, for those taking their first steps with POL or eScript
Post Reply
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Need help with starting pol Linux

Post by Vipre420 »

Yes I am tring to start a pol server on a linux server i got the files to compile from what i can tell the problem i am finding is im not find how to start the server to see if it is working or not or if i get errors can someone help me with the command line to start pol.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Need help with starting pol Linux

Post by boberski »

Code: Select all

./pol
You type this in main POL dir.
Last edited by boberski on Sat Apr 08, 2017 5:34 am, edited 2 times in total.
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Need help with starting pol Linux

Post by boberski »

Code: Select all

./pol
You type this in main POL dir.
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Re: Need help with starting pol Linux

Post by Vipre420 »

fineuo@fineuo:~/fineuo$ ./pol
bash: ./pol: Permission denied
thats what it returns
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Need help with starting pol Linux

Post by boberski »

Code: Select all

chmod 755 pol
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Re: Need help with starting pol Linux

Post by Vipre420 »

fineuo@fineuo:~/fineuo/pol-core/bin$ ./pol
POL99.0.0 Break Everything Even Rudder - LINUX (64bit)
compiled on Mar 20 2017 10:06:21
Copyright (C) 1993-2016 Eric N. Swanson

Sizes:
UObject: 136
Item: 192
UContainer: 232
Character: 872
Client: 3176
NPC: 936

Using 1 out of 1 worldsave threads
Reading Configuration.
Unable to open configuration file pol.cfg
Server Shutdown: reading pol.cfg
Initiating POL Cleanup....
bobjectimp instances: 0
Execution aborted due to: Unable to open configuration file pol.cfg

i was in wrong folder before i think now that in pol-core/bin and run ./pol thats what i get
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Re: Need help with starting pol Linux

Post by Vipre420 »

Code: Select all

fineuo@fineuo:~$ cd fineuo/pol-core
fineuo@fineuo:~/fineuo/pol-core$ ./pol
POL99.0.0 Break Everything Even Rudder - LINUX (64bit)
compiled on Mar 20 2017 16:11:28
Copyright (C) 1993-2016 Eric N. Swanson

Using 1 out of 1 worldsave threads
Reading Configuration.
checkpoint: reading config/bannedips.cfg
checkpoint: reading servspecopt.cfg
checkpoint: reading extobj.cfg
checkpoint: checking libc version
Found libc 2.19 - ok
checkpoint: init default itemdesc defaults
checkpoint: loading POL map file
Loading Realm britannia_alt.
Validating statics files: Completed in 1 ms.
Completed in 127 ms.
Loading Realm multis.cfg.
Unable to open configuration file /home/fineuo/fineuo/pol-core/bin/realm/multis.cfg/realm.cfg
Server Shutdown: loading POL map file
Initiating POL Cleanup....
checkpoint: cleaning up vars
checkpoint: cleaning up scripts
checkpoint: cleaning listen points
checkpoint: unloading data
checkpoint: misc cleanup
checkpoint: end of xmain2
Execution aborted due to: Unable to open configuration file /home/fineuo/fineuo/pol-core/bin/realm/multis.cfg/realm.cfg
I have got past my last problem to find this one anyone have any idea to what i did wrong
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: Need help with starting pol Linux

Post by boberski »

Do you have distro and done uoconvert on map files?
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Re: Need help with starting pol Linux

Post by Vipre420 »

Ok i have started over a couple times now this is where i am at have done uoconvert all went good now when compiling i get this

Code: Select all

Writing:   /home/fineuo/fineuo/scripts/storageWipe.dbg.txt
Writing:   /home/fineuo/fineuo/scripts/storageWipe.dep
Compiling: /home/fineuo/fineuo/scripts/ai/spellKillPCs.src
Unable to read include file '/home/fineuo/fineuo/scripts/ai/include/client.inc'
Compilation failed.
Execution aborted due to: Error compiling file
the client.inc is in the include folder and yes have distros but for some reason its looking for it /home/fineuo/fineuo/scripts/ai/include/ instead of the /home/fineuo/fineuo/scripts/include folder and i have edited the ecompile.cfg and the poll.cfg to all my file locations please help
Last edited by Vipre420 on Wed Mar 22, 2017 9:02 pm, edited 1 time in total.
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Re: Need help with starting pol Linux

Post by Vipre420 »

used this to convert map files

Code: Select all

mv multis.cfg config/
./uoconvert tiles
mv tiles.cfg config
./uoconvert landtiles
mv landtiles.cfg config
./uoconvert map realm=britannia mapid=0 usedif=1 width=6144 height=4096
./uoconvert statics realm=britannia
./uoconvert maptile realm=britannia
./uoconvert map realm=britannia_alt mapid=1 usedif=1 width=6144 height=4096
./uoconvert statics realm=britannia_alt
./uoconvert maptile realm=britannia_alt
./uoconvert map realm=ilshenar mapid=2 usedif=1 width=2304 height=1600
./uoconvert statics realm=ilshenar
./uoconvert maptile realm=ilshenar
./uoconvert map realm=malas mapid=3 usedif=1 width=2560 height=2048 
./uoconvert statics realm=malas
./uoconvert maptile realm=malas
./uoconvert map realm=tokuno mapid=4 usedif=1 width=1448 height=1448
./uoconvert statics realm=tokuno
./uoconvert maptile realm=tokuno
and it said all realms generated
Vipre420
New User
Posts: 7
Joined: Sun Mar 19, 2017 6:08 pm

Re: Need help with starting pol Linux

Post by Vipre420 »

I got it to compile now the issue is its not finding the config files when i start pol. Is there a file i am need to edit and missed to point it to the config folder or something.

Code: Select all

Validating statics files: Completed in 0 ms.
Completed in 9 ms.
Loading Realm ilshenar.
Validating statics files: Completed in 0 ms.
Completed in 31 ms.
Loading Realm britannia.
Validating statics files: Completed in 1 ms.
Completed in 119 ms.
hostname is fineuo
address: 173.230.145.224
Internet IP address is 173.230.145.224
hostname is fineuo
address: 173.230.145.224
Unable to open configuration file config/cmds.cfg
Server Shutdown: load_cmdlevels
Initiating POL Cleanup....
Execution aborted due to: Unable to open configuration file config/cmds.cfg
Post Reply