Icronic world

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Trike
Journeyman Poster
Posts: 62
Joined: Mon Aug 19, 2019 7:55 pm

Icronic world

Post by Trike » Thu Sep 19, 2019 10:59 am

viewtopic.php?f=43&t=2991#top.
Error compiled 300scripts

RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Icronic world

Post by RusseL » Thu Sep 19, 2019 11:48 am

Sooo?

Trike
Journeyman Poster
Posts: 62
Joined: Mon Aug 19, 2019 7:55 pm

Re: Icronic world

Post by Trike » Thu Sep 19, 2019 7:57 pm

RusseL wrote:
Thu Sep 19, 2019 11:48 am
Sooo?
Need help starting icronic

Yukiko
Distro Developer
Posts: 2781
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Icronic world

Post by Yukiko » Sat Sep 21, 2019 11:30 am

Need you to post the error message eCompile printed.

Trike
Journeyman Poster
Posts: 62
Joined: Mon Aug 19, 2019 7:55 pm

Re: Icronic world

Post by Trike » Sun Sep 22, 2019 1:59 am

Error compiling statement at C:\icrontic\scripts\www\guilds.src, Line 35
Parse Error: Illegal Construction
Near: var guilds:= len(ListGuilds());
File: C:\icrontic\scripts\www\guilds.src, Line 35
Compiling: C:/icrontic/scripts/www/listallinventory.src
Case mismatch:
Specified: myutil.inc
Filesystem: myUtil.inc
Case mismatch:
Specified: myutil.inc
Filesystem: myUtil.inc
Token '(' cannot follow token 'FindStorageArea'
Function FindStorageArea() is not defined.
Error compiling statement at C:\icrontic\scripts\www\listallinventory.src, Line 17
Parse Error: Illegal Construction
Near: var storage := FindStorageArea( "Merchant Storage" );
File: C:\icrontic\scripts\www\listallinventory.src, Line 17
Compiling: C:/icrontic/scripts/www/merchantlist.src
Case mismatch:
Specified: myutil.inc
Filesystem: myUtil.inc
Case mismatch:
Specified: myutil.inc
Filesystem: myUtil.inc
Token '(' cannot follow token 'FindStorageArea'
Function FindStorageArea() is not defined.
Error compiling statement at C:\icrontic\scripts\www\merchantlist.src, Line 18
Parse Error: Illegal Construction
Near: var storage := FindStorageArea( "Merchant Storage" );
File: C:\icrontic\scripts\www\merchantlist.src, Line 18
Compiling: C:/icrontic/scripts/www/online.src
Token '(' cannot follow token 'FindGuild'
Function FindGuild() is not defined.
Error compiling statement at C:\icrontic\scripts\www\online.src, Line 23
Error in IF statement starting at File: C:\icrontic\scripts\www\online.src, Line 21
Error compiling statement at C:\icrontic\scripts\www\online.src, Line 21
Error compiling statement at C:\icrontic\scripts\www\online.src, Line 19
Parse Error: Illegal Construction
Near: var guildof := FindGuild(guild_pl).getprop("guildname");
File: C:\icrontic\scripts\www\online.src, Line 23
Compiling: C:/icrontic/scripts/www/running_scripts.src
Writing: C:/icrontic/scripts/www/running_scripts.ecl
Writing: C:/icrontic/scripts/www/running_scripts.lst
Writing: C:/icrontic/scripts/www/running_scripts.dbg
Writing: C:/icrontic/scripts/www/running_scripts.dep
Compiling: C:/icrontic/scripts/www/searchinventory.src
Case mismatch:
Specified: myutil.inc
Filesystem: myUtil.inc
Case mismatch:
Specified: myutil.inc
Filesystem: myUtil.inc
Token '(' cannot follow token 'FindStorageArea'
Function FindStorageArea() is not defined.
Error compiling statement at C:\icrontic\scripts\www\searchinventory.src, Line 31
Parse Error: Illegal Construction
Near: var storage := FindStorageArea( "Merchant Storage" );
File: C:\icrontic\scripts\www\searchinventory.src, Line 31
Compiling: C:/icrontic/scripts/www/serverstats.src
Token '(' cannot follow token 'GameStat'
Function GameStat() is not defined.
Error compiling statement at C:\icrontic\scripts\www\serverstats.src, Line 5
Parse Error: Illegal Construction
Near: var itemcount := GameStat( "itemcount" );
File: C:\icrontic\scripts\www\serverstats.src, Line 5
Compiling: C:/icrontic/scripts/www/servperf/accountlist.src
Writing: C:/icrontic/scripts/www/servperf/accountlist.ecl
Writing: C:/icrontic/scripts/www/servperf/accountlist.lst
Writing: C:/icrontic/scripts/www/servperf/accountlist.dbg
Writing: C:/icrontic/scripts/www/servperf/accountlist.dep
Compiling: C:/icrontic/scripts/www/servperf/accounts/character_search.src
Deprecated '=' found: did you mean '==' or ':='?
Error compiling statement at C:\icrontic\scripts\www\servperf\accounts\character_search.src, Line 15
Compilation Error:
Near: if (!thename or thename="0")
File: C:\icrontic\scripts\www\servperf\accounts\character_search.src, Line 15
Compiling: C:/icrontic/scripts/www/servperf/account_info.src
Writing: C:/icrontic/scripts/www/servperf/account_info.ecl
Writing: C:/icrontic/scripts/www/servperf/account_info.lst
Writing: C:/icrontic/scripts/www/servperf/account_info.dbg
Writing: C:/icrontic/scripts/www/servperf/account_info.dep
Compiling: C:/icrontic/scripts/www/servperf/bandwidth.src
Writing: C:/icrontic/scripts/www/servperf/bandwidth.ecl
Writing: C:/icrontic/scripts/www/servperf/bandwidth.lst
Writing: C:/icrontic/scripts/www/servperf/bandwidth.dbg
Writing: C:/icrontic/scripts/www/servperf/bandwidth.dep
Compiling: C:/icrontic/scripts/www/servperf/broadcast.src
Writing: C:/icrontic/scripts/www/servperf/broadcast.ecl
Writing: C:/icrontic/scripts/www/servperf/broadcast.lst
Writing: C:/icrontic/scripts/www/servperf/broadcast.dbg
Writing: C:/icrontic/scripts/www/servperf/broadcast.dep
Compiling: C:/icrontic/scripts/www/servperf/character_info.src
Expected an identifier, got User Function Min instead.
Near: use math;
File: C:/icrontic/scripts/modules/math.em, Line 15
Error reading function declaration in module math
Compilation failed.
Compiling: C:/icrontic/scripts/www/servperf/helppages.src
Expected expression following comma before right-brace in array initializer list
Error getting elements for array
Error compiling statement at C:/icrontic/scripts/include/gumpUtil.inc, Line 62
Compilation Error:
Near: length.+chars:={
File: C:/icrontic/scripts/include/gumpUtil.inc, Line 80
Error compiling statement at C:\icrontic\scripts\www\servperf\helppages.src, Line 6
Compilation Error:
Near: length.+chars:={
File: C:\icrontic\scripts\www\servperf\helppages.src, Line 6
Compiling: C:/icrontic/scripts/www/servperf/inactive_accounts.src
Error compiling statement at C:\icrontic\scripts\www\servperf\inactive_accounts.src, Line 27
Expected an identifier to follow the member (.) operator.
Error compiling statement at C:\icrontic\scripts\www\servperf\inactive_accounts.src, Line 25
Error detected in program body.
Error occurred at C:\icrontic\scripts\www\servperf\inactive_accounts.src, Line 27
Compiling: C:/icrontic/scripts/www/servperf/inactive_management.src
Warning: local variable 'noplayers' not used.
File: C:\icrontic\scripts\www\servperf\inactive_management.src, Line 22
Warning: local variable 'found_player' not used.
File: C:\icrontic\scripts\www\servperf\inactive_management.src, Line 21
Warning: local variable 'player' not used.
File: C:\icrontic\scripts\www\servperf\inactive_management.src, Line 21
Token '(' cannot follow token 'DestroyRootItemInStorageArea'
Function DestroyRootItemInStorageArea() is not defined.
Error compiling statement at C:/icrontic/scripts/util/bank.inc, Line 37
Error in function 'WipeBankBox', File: C:/icrontic/scripts/util/bank.inc, Line 37

Error in function 'WipeBankBox'.
File: C:/icrontic/scripts/util/bank.inc, Line 37
Compiling: C:/icrontic/scripts/www/servperf/npcdesc.src
Writing: C:/icrontic/scripts/www/servperf/npcdesc.ecl
Writing: C:/icrontic/scripts/www/servperf/npcdesc.lst
Writing: C:/icrontic/scripts/www/servperf/npcdesc.dbg
Writing: C:/icrontic/scripts/www/servperf/npcdesc.dep
Compiling: C:/icrontic/scripts/www/servperf/reloadcfgs.src
Writing: C:/icrontic/scripts/www/servperf/reloadcfgs.ecl
Writing: C:/icrontic/scripts/www/servperf/reloadcfgs.lst
Writing: C:/icrontic/scripts/www/servperf/reloadcfgs.dbg
Writing: C:/icrontic/scripts/www/servperf/reloadcfgs.dep
Compiling: C:/icrontic/scripts/www/servperf/unloadall.src
Writing: C:/icrontic/scripts/www/servperf/unloadall.ecl
Writing: C:/icrontic/scripts/www/servperf/unloadall.lst
Writing: C:/icrontic/scripts/www/servperf/unloadall.dbg
Writing: C:/icrontic/scripts/www/servperf/unloadall.dep
Compiling: C:/icrontic/scripts/www/staffonline.src
Writing: C:/icrontic/scripts/www/staffonline.ecl
Writing: C:/icrontic/scripts/www/staffonline.lst
Writing: C:/icrontic/scripts/www/staffonline.dbg
Writing: C:/icrontic/scripts/www/staffonline.dep
Compiling: C:/icrontic/scripts/www/webacct.src
Deprecated '=' found: did you mean '==' or ':='?
Error compiling statement at C:\icrontic\scripts\www\webacct.src, Line 45
Error compiling statement at C:\icrontic\scripts\www\webacct.src, Line 29
Error detected in program body.
Error occurred at C:\icrontic\scripts\www\webacct.src, Line 45
Didn't find '.src', '.hsr', or '.asp' extension on source filename 'C:\icrontic\scripts\ecompile.cfg'!
Compilation Summary:
Compiled 510 scripts in 41522 ms.
240 of those scripts had errors.

RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Icronic world

Post by RusseL » Sun Sep 22, 2019 11:26 am

It looks like you try to start 093 scripts with newer core. You must edit almost all scripts manually.
For example FindStorageArea function was moved into storage module, so you need to use it inside your script.
Find guild - moved to guild module.
There is no "=" operator anymore, use ":=" instead, and so on.

Yukiko
Distro Developer
Posts: 2781
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Icronic world

Post by Yukiko » Sun Sep 22, 2019 12:46 pm

I did not know Icrontic was that old. I know I told Trike that I thought it might be older than 095 but I was not sure.

Yes, := for assignment statements and ==for if statements

Trike
Journeyman Poster
Posts: 62
Joined: Mon Aug 19, 2019 7:55 pm

Re: Icronic world

Post by Trike » Sun Sep 22, 2019 8:12 pm

oh no for me it's all not easy and even more so in order to run and see although it is very similar to the world that I need

Post Reply