SphereCommunity
[UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] (/Thread-UPDATE-Amon-Vangrell-World-Decorator-OSI-LIKE)

Pages: 1 2 3 4 5 6 7 8


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - Mordaunt - 06-10-2013 11:48 AM

You should nudge this script to the functions category in downloads, it's currently in script pack, which it's not really Wink


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - amonvangrell - 06-10-2013 11:50 AM

swt i'll do that. ;]


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - Breaker - 06-13-2013 05:32 AM

Where i can get "MakeGates" function? In last release this function not exists.


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - darksun84 - 06-13-2013 06:06 AM

I don't think it's an hardcoded function :|


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - amonvangrell - 06-13-2013 07:25 AM

(06-13-2013 05:32 AM)Breaker Wrote:  Where i can get "MakeGates" function? In last release this function not exists.

this function call the mordaunt script function. you can get it by downloading mordaunt script here

mordaunt moongate script

its on the thread but i'll change to the main post. thx! ;]


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - Mordaunt - 06-14-2013 01:30 AM

You may want to put in this thread, and also in your setup instructions in your script that the sector complexity and item complexity in the .ini need to be increased, otherwise you just get streams of "too complex" errors.
Also when using nightly scripts (I am assuming this issue is caused by items that are different/missing compared to the SCP) it does produce the following errors:

Code:
10:10:ERROR:(city_nujelm.scp,2144)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2144)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2156)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2156)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2168)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2168)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2180)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2180)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2192)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2192)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2207)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2207)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2220)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2220)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2233)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2233)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(dungeon_prism_of_light.scp,42)CreateBase invalid item 0307f
10:10:ERROR:(city_Sea_Market.scp,225)Undefined symbol 'i_addon_trash_barrel'
10:10:ERROR:(city_Sea_Market.scp,225)Undefined symbol 'i_addon_trash_barrel'

Using "Decoration" for Fellucia results in Brit Bank gaining a set of metal doors, but no other buildings do, also no signs. The result of this is that when you then generate doors for Fellucia, Brit Bank gets 2 sets of doors in the same place, a set of metal and a set of wood.
When you use "Decoration" for Trammel it generates all the signs and doors as well as the other stuff. Is there any reason these 2 maps are spawned differently?

Apart from those couple of things, having now gotten around to trying this script out, it's really nice and clearly a time saver over running around decorating by hand.
Good job!


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - amonvangrell - 06-14-2013 07:33 AM

(06-14-2013 01:30 AM)Mordaunt Wrote:  Also when using nightly scripts (I am assuming this issue is caused by items that are different/missing compared to the SCP) it does produce the following errors:

Code:
10:10:ERROR:(city_nujelm.scp,2144)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2144)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2156)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2156)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2168)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2168)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2180)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2180)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2192)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2192)Undefined symbol 'i_bed_large_e_1_4'
10:10:ERROR:(city_nujelm.scp,2207)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2207)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2220)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2220)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2233)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(city_nujelm.scp,2233)Undefined symbol 'i_bed_large_s_1_4'
10:10:ERROR:(dungeon_prism_of_light.scp,42)CreateBase invalid item 0307f
10:10:ERROR:(city_Sea_Market.scp,225)Undefined symbol 'i_addon_trash_barrel'
10:10:ERROR:(city_Sea_Market.scp,225)Undefined symbol 'i_addon_trash_barrel'

Using "Decoration" for Fellucia results in Brit Bank gaining a set of metal doors, but no other buildings do, also no signs. The result of this is that when you then generate doors for Fellucia, Brit Bank gets 2 sets of doors in the same place, a set of metal and a set of wood.
When you use "Decoration" for Trammel it generates all the signs and doors as well as the other stuff. Is there any reason these 2 maps are spawned differently?

Thanks for this reply!

You are correct, am using the Sphere Community Script Pack.
So this is really complicated, not to solve, but with this constant change of items DEFNAMES, but I'll update them with the item ID.

I think I have fix those errors now! ;]

Again Thx Master Mordaunt! ;]

NEW UPDATE!
Fixed errors pointed by Mordaunt.
New requirement to the function to work, increase sphere.ini items and sectors complexity number.
VERSION=1.0D
Added Items missed by those who are not with Sphere Community Pack.
About trammel, the reason why the sign its attached to the decoration its because I had not separated them yet, this is still a work in progress. ;]


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - Breaker - 06-15-2013 12:04 AM

For ERROR:(dungeon_prism_of_light.scp,42)CreateBase invalid item 0307f
need add items to scripts.
PHP Code:
[ITEMDEF 0307b]
DEFNAME=i_arcane_circle_ts
DUPELIST
=0307c,0307d,0307e,0307f,03080,03081,03082,03083
CATEGORY
=New Items
SUBSECTION
=ML
DESCRIPTION
=Arcane Circle TS

[ITEMDEF 0307c]
DUPELIST=0307b

[ITEMDEF 0307d]
DUPELIST=0307b

[ITEMDEF 0307e]
DUPELIST=0307b

[ITEMDEF 0307f]
DUPELIST=0307b

[ITEMDEF 03080]
DUPELIST=0307b

[ITEMDEF 03081]
DUPELIST=0307b

[ITEMDEF 03082]
DUPELIST=0307b

[ITEMDEF 03083]
DUPELIST=0307b 

for errors:
ERROR:(city_nujelm.scp,2192)Undefined symbol 'i_bed_large_e_1_4'
ERROR:(city_nujelm.scp,2207)Undefined symbol 'i_bed_large_s_1_4'

in "worldgen" scripts files:
"..\Amon_Decorator\Felucca\city_nujelm.scp", "
"..\Amon_Decorator\\Trammel\city_nujelm_trammel.scp"
need find
serv.newitem=i_bed_large_s_1_4
replace to
serv.newitem=0A7E

need find
serv.newitem=i_bed_large_e_1_4
replace to
serv.newitem=0a78

I that fix it.

PS: Nightly scripts have a little bugs and not have any items.
I write for self program for merge all items in one big file.
Sphere Scripts Manager
Armor & Weapon Generator
World Wiper
Example scripts for WA Generator
Example sphere script of characters for Script Manager


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - amonvangrell - 06-15-2013 06:20 AM

(06-15-2013 12:04 AM)Breaker Wrote:  For ERROR:(dungeon_prism_of_light.scp,42)CreateBase invalid item 0307f
need add items to scripts.

on my last update i have fix all those already.


RE: [UPDATE]Amon Vangrell - World Decorator [OSI LIKE] - babazar - 07-12-2013 07:37 AM

2:36:ERROR:(britania_generator.scp,140)Undefined keyword 'MakeGates'
22:36:ERROR:(dungeon_prism_of_light.scp,42)CreateBase invalid item 0307f
22:36:ERROR:(other_misc_felucca.scp,231)Undefined symbol 'i_moongate_ss'
22:36:ERROR:(other_misc_felucca.scp,231)Undefined symbol 'i_moongate_ss'
22:36:CRITICAL:(city_Sea_Market.scp,230)Error Pri=2, Code=0, Desc='CTileTerrainType.ReadInfo: TileData Read', in GetItemData

also getting:

:39:ERROR:(Mag_Fel.scp,12725)Warning: 2785 items at 3695,2218,40,too complex!
22:39:ERROR:(Mag_Fel.scp,12728)Warning: 2786 items at 3695,2217,40,too complex!
22:39:ERROR:(Mag_Fel.scp,12731)Warning: 2787 items at 3695,2216,40,too complex!
22:39:ERROR:(Mag_Fel.scp,12782)Warning: 2509 items at 3684,2248,20,too complex!
22:39:ERROR:(Mag_Fel.scp,12791)Warning: 2510 items at 3665,2252,20,too complex!
22:39:ERROR:(Mag_Fel.scp,12969)Warning: 2511 items at 3696,2248,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13048)Warning: 2788 items at 3689,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13051)Warning: 2789 items at 3688,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13054)Warning: 2790 items at 3687,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13057)Warning: 2791 items at 3686,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13063)Warning: 2792 items at 3684,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13066)Warning: 2793 items at 3682,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13072)Warning: 2794 items at 3704,2215,40,too complex!
22:39:ERROR:(Mag_Fel.scp,13075)Warning: 2795 items at 3695,2207,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13078)Warning: 2796 items at 3680,2199,20,too complex!
22:39:ERROR:(Mag_Fel.scp,13082)Warning: 2512 items at 3692,2280,-2,too complex!
22:39:ERROR:(Mag_Fel.scp,13085)Warning: 2513 items at 3694,2299,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13088)Warning: 2514 items at 3694,2291,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13091)Warning: 2515 items at 3694,2287,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13094)Warning: 2516 items at 3694,2279,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13097)Warning: 2517 items at 3690,2299,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13100)Warning: 2518 items at 3690,2291,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13103)Warning: 2519 items at 3690,2287,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13106)Warning: 2520 items at 3690,2279,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13109)Warning: 2521 items at 3666,2299,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13112)Warning: 2522 items at 3666,2291,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13115)Warning: 2523 items at 3687,2270,too complex!
22:39:ERROR:(Mag_Fel.scp,13118)Warning: 2524 items at 3687,2270,10,too complex!
22:39:ERROR:(Mag_Fel.scp,13121)Warning: 2525 items at 3687,2270,15,too complex!
22:39:ERROR:(Mag_Fel.scp,13124)Warning: 2526 items at 3687,2268,too complex!
22:39:ERROR:(Mag_Fel.scp,13127)Warning: 2527 items at 3687,2268,5,too complex!
22:39:ERROR:(Mag_Fel.scp,13130)Warning: 2528 items at 3687,2268,10,too complex!
22:39:ERROR:(Mag_Fel.scp,13133)Warning: 2529 items at 3687,2268,15,too complex!
22:39:ERROR:(Mag_Fel.scp,13136)Warning: 2530 items at 3684,2270,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13139)Warning: 2531 items at 3684,2270,too complex!
22:39:ERROR:(Mag_Fel.scp,13142)Warning: 2532 items at 3684,2270,5,too complex!
22:39:ERROR:(Mag_Fel.scp,13145)Warning: 2533 items at 3684,2270,10,too complex!
22:39:ERROR:(Mag_Fel.scp,13148)Warning: 2534 items at 3684,2270,15,too complex!
22:39:ERROR:(Mag_Fel.scp,13151)Warning: 2535 items at 3681,2271,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13154)Warning: 2536 items at 3677,2269,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13157)Warning: 2537 items at 3676,2269,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13160)Warning: 2538 items at 3682,2270,5,too complex!
22:39:ERROR:(Mag_Fel.scp,13163)Warning: 2539 items at 3682,2270,10,too complex!
22:39:ERROR:(Mag_Fel.scp,13166)Warning: 2540 items at 3681,2299,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13169)Warning: 2541 items at 3681,2291,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13172)Warning: 2542 items at 3680,2270,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13175)Warning: 2543 items at 3680,2270,too complex!
22:39:ERROR:(Mag_Fel.scp,13178)Warning: 2544 items at 3680,2270,5,too complex!
22:39:ERROR:(Mag_Fel.scp,13181)Warning: 2545 items at 3680,2270,10,too complex!
22:39:ERROR:(Mag_Fel.scp,13184)Warning: 2546 items at 3680,2270,15,too complex!
22:39:ERROR:(Mag_Fel.scp,13187)Warning: 2547 items at 3683,2271,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13190)Warning: 2548 items at 3687,2268,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13193)Warning: 2549 items at 3687,2267,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13196)Warning: 2550 items at 3678,2270,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13199)Warning: 2551 items at 3678,2270,too complex!
22:39:ERROR:(Mag_Fel.scp,13202)Warning: 2552 items at 3678,2270,5,too complex!
22:39:ERROR:(Mag_Fel.scp,13205)Warning: 2553 items at 3678,2270,10,too complex!
22:39:ERROR:(Mag_Fel.scp,13208)Warning: 2554 items at 3678,2270,15,too complex!
22:39:ERROR:(Mag_Fel.scp,13211)Warning: 2555 items at 3677,2299,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13214)Warning: 2556 items at 3677,2291,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13217)Warning: 2557 items at 3677,2287,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13220)Warning: 2558 items at 3682,2270,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13223)Warning: 2559 items at 3683,2270,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13226)Warning: 2560 items at 3685,2270,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13229)Warning: 2561 items at 3687,2270,5,too complex!
22:39:ERROR:(Mag_Fel.scp,13232)Warning: 2562 items at 3682,2268,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13235)Warning: 2563 items at 3684,2269,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13238)Warning: 2564 items at 3687,2269,-5,too complex!
22:39:ERROR:(Mag_Fel.scp,13241)Warning: 2565 items at 3670,2299,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13244)Warning: 2566 items at 3670,2291,-3,too complex!
22:39:ERROR:(Mag_Fel.scp,13247)Warning: 2567 items at 3670,2287,-3,too complex!

getting loads of these