Custom client by Latikai, building on Ender's client

Forum for game modifications and custom clients.

Re: Custom client by Latikai, building on Ender's client

Postby majtejn » Sat Nov 07, 2015 11:07 am

Kandarim wrote:Default values are showicon="true" and order="0". Highest numbers will be drawn on top, negative numbers are possible.

I've been waiting for this ordering for long. :D
majtejn
 
Posts: 119
Joined: Sat Oct 05, 2013 5:13 pm

Re: Custom client by Latikai, building on Ender's client

Postby Flame » Sat Nov 07, 2015 11:47 am

Thank you very much!
User avatar
Flame
 
Posts: 419
Joined: Wed Sep 02, 2015 9:03 am

Re: Custom client by Latikai, building on Ender's client

Postby Bjebr » Sat Nov 07, 2015 12:16 pm

Thanks a lot (again !) for these nice improvments Latikai ... And for explaining how to make our own modification ... let's say : add cougar to order 100 to begin :D

Bjebr
User avatar
Bjebr
 
Posts: 392
Joined: Wed Jan 23, 2013 1:58 pm

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Sat Nov 07, 2015 1:32 pm

it feels nice to release an update which hasn't crashed someone yet :D
Anyways, I also finally reproduced heff's error with the sorting - it's due to fishing rods in your inventory.
Will be fixed soon, along with a new default radar file (which will NOT replace whatever you have now -- it will only be used when no Salem/radar.xml file exists, in which case it will be copied there)

edit: just pushed this bugfix + default radar.xml -- the default radar.xml will still show animal icons by default.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby Flame » Sat Nov 07, 2015 2:26 pm

Hi again. I tried to sort the groups i needed. Some of them works just fine, some not. Unluckly, my higher ability is to copy paste, so i don't see what's wrong.
I post it here below:

Code: Select all
<group name="predators" show="true" shape="diamond" color="#ffff00">
   <marker pattern="gfx/kritter/bear/.+" text="Bear" color="#e34444" />
   <marker pattern="gfx/kritter/rattler/.+" text="Timber Rattler" color="#22ff22" />
   
   <!-- unknown animals -->
   <marker pattern="gfx/kritter/.+" color="#aaaaaa" />
   <!-- No idea where to find the cougar -->
</group>

<group name="small_animals" show="true" shape="diamond" color="#ffff00">
   <marker pattern="gfx/kritter/cricket/.+" text="Cricket" color="#aaffaa" />
   <marker pattern="gfx/kritter/rabbit/.+" text="Rabbit" color="#ffffee" />
   <marker pattern="gfx/kritter/crab/.+" text="Crab" color="#26C166" />
   <marker pattern="gfx/kritter/spider/.+" text="Spider" color="#ffff00" />
   <marker pattern="gfx/kritter/squirrel/.+" show="false" text="Squirrel" color="#ffff00" />
   <marker pattern="gfx/kritter/frog/.+"/>

      <!-- unknown animals -->
   <marker pattern="gfx/kritter/.+" color="#aaaaaa" />
</group>

<group name="animals" show="true" shape="diamond" color="#ffff00">
   <marker pattern="gfx/kritter/turkey/.+" text="Turkey" color="#8888ff" />
   <marker pattern="gfx/kritter/deer/.+" text="Deer" color="#e59363" />
   <marker pattern="gfx/kritter/beaver/.+" text="Beaver" color="#6091ea" />
</group>



What happens is that Predator group show me cricket and rabbits that should not be listed in it and Small animals or Animals shows me Nothing.

and... well... here ends my attempt to be a coder. lol
User avatar
Flame
 
Posts: 419
Joined: Wed Sep 02, 2015 9:03 am

Re: Custom client by Latikai, building on Ender's client

Postby ToorimaKun » Sat Nov 07, 2015 4:27 pm

there seems to be nothing wrong in the code you have pasted... it might be some where else... try PMing me the whole file and ill find it.

also cougar:
Code: Select all
   <marker pattern="gfx/kritter/cougar/.+" text="Cougar" color="#0000FF"/>

If you guys have questions about radar find me on steam, KiaKun.
sorry for the very late replies.... everyone i played salem with quit... and all my villages have been raided.
User avatar
ToorimaKun
 
Posts: 283
Joined: Sat May 25, 2013 2:53 pm

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Sat Nov 07, 2015 5:13 pm

Flame: it's nothing obvious.
The predator group is first in the file and hence the parser will check it first for a match.
Any animal will match in the predator group because of
Code: Select all
   <marker pattern="gfx/kritter/.+" color="#aaaaaa" />


Which means the client will simply stop looking at this point and not bother for anything else.
It's not the most specific match that counts, it's the top-most one.

So, the solution would be to remove that line from your predator group.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby ToorimaKun » Sat Nov 07, 2015 6:22 pm

oh right forgot about that.... yah keep any wild cards at the end of the file. >.<
If you guys have questions about radar find me on steam, KiaKun.
sorry for the very late replies.... everyone i played salem with quit... and all my villages have been raided.
User avatar
ToorimaKun
 
Posts: 283
Joined: Sat May 25, 2013 2:53 pm

Re: Custom client by Latikai, building on Ender's client

Postby Flame » Sun Nov 08, 2015 12:45 am

Oh! ok!
I don't even know what's the meaning of that line. XD Thank you. :3
User avatar
Flame
 
Posts: 419
Joined: Wed Sep 02, 2015 9:03 am

Re: Custom client by Latikai, building on Ender's client

Postby ToorimaKun » Sun Nov 08, 2015 6:43 am

Flame wrote:I don't even know what's the meaning of that line.


the radar reads from top to bottom... and any file NOT already listed in that folder will be shown as "unknown"
If you guys have questions about radar find me on steam, KiaKun.
sorry for the very late replies.... everyone i played salem with quit... and all my villages have been raided.
User avatar
ToorimaKun
 
Posts: 283
Joined: Sat May 25, 2013 2:53 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 3 guests