Apoc Lite

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

User avatar
XaoZLo
Posts: 64
Joined: Thu Apr 07, 2011 8:27 pm

Re: Apoc Lite

Post by XaoZLo »

Fix belts in Autologin
if you click in login window"where you logged out" or "Hearth Fire", selected char belts didn't load.

I do not know how to unload Belts at logout. (maybe is not necessary)


LoginAuto.java

Code: Select all

boolean charWindow(){
		int count = 0;
		int breakCount = 0;
		while(true){
			try{Thread.sleep(200);}catch(Exception e){}
			Charlist cl = findLogin();
			if(cl != null){
				//synchronized(cl.chars) {
					for(Charlist.Char c : cl.chars) {
						if(charname.equals(c.name)){
							Config.currentCharName = c.name; //belts fix
							MainFrame.instance.setTitle(c.name); //belts fix
							sess.charname = c.name; //belts fix
							cl.wdgmsg("play", c.name);
							return true;
						}
					}
				//}
				
				count++;
				if(count > 50) return false;
			}
			
			breakCount++;
			if(breakCount > 50) break;
		}
		
		return false;
	}
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

I managed to get URL linking working after 4-5 days. Wasn't easy but got it working now. Will work on the other fixes and bugfixes as well before I send update.
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

@XaoZLo

The name is set in the function "charClick();" under "setName();". The "charWindow()" only looks for the window that shows up after the player have been selected. If the belt's don't load properly it might be other bugs related to the belt files. I'll try look into it but I remember fixing most the belt problems.
User avatar
XaoZLo
Posts: 64
Joined: Thu Apr 07, 2011 8:27 pm

Re: Apoc Lite

Post by XaoZLo »

Image

Thank you, this works fine :)
Xcom wrote: -Add option to save chat logs
Union client have chatlogger
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

So far I have managed to implement everything suggested and some more. Even found the flavobjs fix and added a disable function on it. I tried to optimize the tile drawing that basically makes the fps drop by 3 times but I still haven't had much luck.

Currently edited:
-Fixed the tracking bug where it sometimes showed incorrect direction going east.
-Fixed the tracking numbers so they show proper degrees now.
-Added broadcast tracking to other Apoc clients, broadcast is sent to the current chat so you can even send it privately. Small downside is that your location will determine the tracking pie so don't move around or the broadcast pie will end up offset from your own.
-Added different color options for crops.
-Added a transparency meter to hitbox colors.
-Added URL linking in chat. This way any URL links starting with "http://", "https://" or "www." will auto detect as URL links and can be clicked to open a external browser.
-Added chat logging to save all chat logs in a folder found in the main directory similar to maps.

As usual all features are toggle-able.

What remains to be added.
-Fix some bugs here and there
-Try and optimize FPS. This problem still illudes me, I hear rumors about other clients having better FPS. Not sure what parts they tackled to reduce it.
-Seed-bag sorting and emptying.

There is one last feature that I think I can easily add now. Target broadcasting to show party members who your targeting. But I'm unsure on how to implement it. If anyone comes up with a good solution please give. I currently don't know how to add the best way to relay to party members who your targeting. By that I mean, what hotkey to use to tag someone and how should the target highlight.
awac10
Posts: 5
Joined: Mon May 02, 2011 8:39 am

Re: Apoc Lite

Post by awac10 »

mb this is stupid question... but how run scripts in this client? :roll:
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

There are no scripts on this client. Union or Anemone client are the ones that have scripts.
User avatar
Lordtimo
Posts: 437
Joined: Wed Jun 01, 2011 12:00 pm

Re: Apoc Lite

Post by Lordtimo »

Ups i forgot to tell you one thing, i cant use kin coloreded path lines, because whenever i check the box and close and reopen the option window the box is unchecked again, it doesnt get saved somehow..

Edit: Also did you updated the download on latest update in first post already?
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

The latest update haven't been uploaded yet. But the update should go out shortly. I still haven't figured out the target broadcast thing yet so I might just exclude that.
dvsmasta
Posts: 216
Joined: Sat Jul 13, 2013 3:58 am

Re: Apoc Lite

Post by dvsmasta »

I love the client and new features - but the graphic mod i use is offset for some reason. I use the tree mod by mvgulik.

I also figured out that your client from March works fine with the tree mod, but newer versions do not.

Return to “The Wizards' Tower”