Dragon Basher: Tomato Update now online

  Prev 1 2 3 4 5 Next

Posted: 08‑30‑2017 09:05


QuaCzar


Fire Flipper
1814 posts

warkings said:

The truth is the GitHub doesn't have much value if it isn't being consistently commit-ted to


yes, I'm hoping to sync and commit more often. I had some more minor setup I was going to do before actually using it, but decided to go ahead, as is, for now.

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Posted: 08‑30‑2017 09:34


QuaCzar


Fire Flipper
1814 posts

Joe said:

I fixed the login problem and now the maps load correctly, I seem to have disabled a variable QuaCzar set ... but all is good now. :)

I'd like to get a handle on the loadmap.pl module; we may be loading it multiple times as well as double executing it. I added a $loadmap=1 variable to it, so whenever we go to execute a do "loadmap.pl", we can add a check and only dp it if it hasn't already been done.

I see you (QuaCzar) have an array system setup of @tileset, is that going to interfear with the $tileset variable? The $tileset variable is used by the loadmap.pl, I think we should change the name of that array to $tiles just for clarification. I like the idea of storing loaded maps in an array, could become useful as we take advantage of changing tilesets in the future.

The tomato update is really fun, starting to feel like an actual game again. If you haven't tried this one, you should. :)

-Joe


I think it's the same variable. I remember changing the symbol part so it would hold a list. I could use $tileset1 etc., instead. It was still trying to use it as a string in the unchanged city part. :p

There's a login problem in cities, now, but better to not have one on the main map. I tried to check for a problem, but my previous upload was a bit hurried. I wouldn't be very surprised if I introduced it without realizing. :s

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Posted: 09‑16‑2017 14:52


QuaCzar


Fire Flipper
1814 posts

I'd like to get a handle on the loadmap.pl module; we may be loading it multiple times as well as double executing it. I added a $loadmap=1 variable to it, so whenever we go to execute a do "loadmap.pl", we can add a check and only dp it if it hasn't already been done.



Do we need to use do? Can we use require for these?

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


Posted: 09‑17‑2017 08:47


Joe


Fire Flipper
1446 posts

QuaCzar said:

[quote]
Do we need to use do? Can we use require for these?




I looked at the code and see what we need to do; in the refresh.pl module I moved some code to load the tilesets so they would be loaded before the items were processed. This way, we can access and manipulate the tilesets without needing to re-load them.

It has created a flicker on the quintrixandcrew.com server I'm going to smooth out soon; we each have code to load tilesets, your code loads them into an array while mine loads them into variables so I'm going to combine the code to make them uniform to use the array and even create a save routine should we edit them.

I should have some time soon, also going to edit the King NPC and work on an NPC for "Joe".

-Joe

DevTeam Member

 


Posted: 09‑23‑2017 20:43


QuaCzar


Fire Flipper
1814 posts
My Internet has been down, but I'm going to try updating via tether...

-QuaCzar : SysOp | P2P Guide | Anarchy Leader | #1 Magic

 


  Prev 1 2 3 4 5 Next

Hunt food, smith weapons, and prepare for battle! Can you stop
the Evil Que from taking over the entire game? Browser based multi-player
fantasy role-playing game that requires no downloads or plug-ins! Free to play forever!

By being at queville.com, you agree to our Terms of Service.