• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Castro AAC

It could use default minimap colors: red - walls of house, yellow - could be for doors and grey - for the floor.
True I was thibking on getting the colors from the dat file

But I dont really want to get the walls.

----

Changed the colors and now I also render house walls!

q2laZ_.png


I still need to make some changes but here is how it looks

x14eeNG.png


If the house is too big it wont fit on the whole image sadly :/

It only shows the door floor. I can render all floors but I am not sure if its neccesary. this gives the user a small preview of how the house looks

And here is how the house looks on RME (just to show how good the renderer works)

tGBqwVr.png
 
Last edited:
True I was thibking on getting the colors from the dat file

But I dont really want to get the walls.

----

Changed the colors and now I also render house walls!

q2laZ_.png


I still need to make some changes but here is how it looks

x14eeNG.png


If the house is too big it wont fit on the whole image sadly :/

It only shows the door floor. I can render all floors but I am not sure if its neccesary. this gives the user a small preview of how the house looks

And here is how the house looks on RME (just to show how good the renderer works)

tGBqwVr.png
Stunning!
 
it will create the house images automatically? cus it has errors when I load it :_(
Yes they are created on start-up. What error are you having?

I am missing some push to the guthub repo regarding config.json, mught be that
 
Yes they are created on start-up. What error are you having?

I am missing some push to the guthub repo regarding config.json, mught be that
it doesnt create the images at the startup, maybe creating the folder? idk
maybe updating pigo?
 
it doesnt create the images at the startup, maybe creating the folder? idk
maybe updating pigo?

You should go get cloak again that will update pigo afaik if not you can try
Code:
go get -u all

Yeah I forgot to say you need the houses folder inside /public/ if that doesnt work either I can teamviewer or something :p
 
So after refactoring the map loader for a while... now its much better, images are smaller and look waaay better plus the loader is faster

vHBQZOv.png


(yes the borders are rounded. dont mind that)

And here is how the folder look like

2aD03T3.png


thanks to @Yamaken for some help <3
 
Last edited:
I dont know if that was necessary tbh, to have the houses show up. But it does look great tho
 
Looking for someone that knows the the .spr structure
https://github.com/edubart/otclient/blob/master/src/client/spritemanager.cpp

- 4 byte: file signature
- 2 / 4 byte: amount of sprites "spriteCount" (depends on the client version)
- 4 byte (spriteCount times): sprite address (basically a list of sprite addresses)

At the sprite address you find the sprite data:
- 3x byte: color key
- 2 byte: sprite size
- https://github.com/edubart/otclient/blob/master/src/client/spritemanager.cpp#L160-L181
 
Towns are now loaded from your map. no more configuration needed to set-up your towns / spawns for characters

Making good progress. so far here is what is left
  • House auctions
  • Guild wars
  • Some admin pages (front-end only)
  • Some shop pages (front-end only)
  • Github issues
And of course...testing

The AAC website will soon be updated with some more information
 
@Raggaer
I have a two questions about this AAC:
  1. How is going with the forum? You already have finished it?
  2. It will supports linux as well isn't?
 
Last edited:
@Raggaer
I have a two questions about this AAC:
  1. How is going with the forum? You already have finished it?
  2. It will supports linux as well isn't?

No forum sorry. There are better alternatives out there than me making a simple forum. for example XenForo is awesome

And yeah linux. win. os x. free bsd =)
 
Back
Top