Thread: Mystic PS | Ascend Edit | Raids fix | Trading Post | Scythe | Much More

Page 8 of 11 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 103
  1. #71  
    Registered Member
    Join Date
    Dec 2019
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I have done so and it still comes up with the errors. I even double checked it.
    Reply With Quote  
     

  2. #72  
    Registered Member
    Join Date
    Nov 2017
    Posts
    304
    Thanks given
    36
    Thanks received
    75
    Rep Power
    3

    Here's a 5 min client work.

    Attached image

    Things YOU need to do.
    * Download the background (Link) and copy it to the right location in the cache.
    * Make the buttons work, add new codes to the click region.
    * Change the coordinates if you want it to be precise to OSRS.


    Spoiler for CODE:

    Code:
    /** WORK IN PROGRESS **/
    	public void drawLoginScreen(boolean flag) { 
    		int centerX = myWidth / 2, centerY = myHeight / 2;
    
    		resetImageProducers();
    		loginScreenGraphicsBuffer.initDrawingArea();
    		
    			/* Background */
    		background.drawSprite(0, 0);
    		
    			/* Title Box */
    		titleBox.drawBackground(centerX / 2 + 13, (centerY / 2 + 34));
    		
    		newRegularFont.drawBasicString("Mouse X: " + super.mouseX + " Mouse Y: " + super.mouseY, 20, 20);
    		
    		if (loginScreenState == 0) {
    			newBoldFont.drawBasicString("state=0", 50, 50);
    			newBoldFont.drawBasicString("Welcome to " + Configuration.CLIENT_TITLE , centerX - 70, centerY - 10, 0xffff00, 0);
    				/* New User */
    			titleButton.drawBackground((myWidth / 2 - 77) - (78) + 3, (myHeight / 2) + 20 - 11);
    			newBoldFont.drawBasicString("New User", centerX - 110, centerY + 35, 0xffffff, 0);
    				/* Existing User */
    			titleButton.drawBackground((myWidth / 2 - 72) + (78) + 3, (myHeight / 2) + 20 - 11);
    			newBoldFont.drawBasicString("Existing User", centerX + 35, centerY + 35, 0xffffff, 0);
    		} else if (loginScreenState == 1) {
    			newBoldFont.drawBasicString("state=1", 50, 50);
    				/* Messages */
    			int j = centerY - 40;
    			if (firstLoginMessage.length() > 0) {
    				newBoldFont.drawCenteredString(firstLoginMessage, centerX - 3, j - 11, 0xffff00, 0x191919, 255);
    				newBoldFont.drawCenteredString(secondLoginMessage, centerX - 3, j + 300, 0xffff00, 0x191919, 255);
    				j += 30;
    			} else {
    				newBoldFont.drawString(secondLoginMessage, myWidth / 2 - 3, j - 7, 0xffff00, 0x191919, 255);
    				j += 30;
    			}
    			newBoldFont.drawBasicString("Login: " + myUsername + ((loginScreenCursorPos == 0)  & (loopCycle % 40 < 20) ? "@yel@|" : ""), 257, 235, 0xffffff, 0);
    			newBoldFont.drawBasicString("Password: " + TextClass.passwordAsterisks(myPassword) + ((loginScreenCursorPos == 1) & (loopCycle % 40 < 20) ? "@yel@|" : ""), 260, 250, 0xffffff, 0);
    				/* New User */
    			titleButton.drawBackground((myWidth / 2 - 77) - (78) + 3, (myHeight / 2) + 50 - 11);
    			newBoldFont.drawBasicString("Login", centerX - 100, centerY + 65, 0xffffff, 0);
    				/* Existing User */
    			titleButton.drawBackground((myWidth / 2 - 72) + (78) + 3, (myHeight / 2) + 50 - 11);
    			newBoldFont.drawBasicString("Cancel", centerX + 55, centerY + 65, 0xffffff, 0);
    			
    			newSmallFont.drawCenteredString("Can't login? Click here.", 370, 349, 0xD3D3D3, 0);
    		}
    
    /* MY WORK ENDS HERE, ORGANIZE THE CODES BELOW, REMOVE UNNECESSARY THINGS */
    
    		// rememberPasswordHover = mouseInRegion(286 - extraPos, 270, 301 - extraPos,
    		// 283);
    		//rememberMeHover = mouseInRegion(286 - extraPos, 300, 301 - extraPos, 313);
    		// rememberMeHover = mouseInRegion(286 - extraPos, 282, 301 - extraPos, 295);
    		//rememberPasswordHover = mouseInRegion(416 - extraPos, 300, 433 - extraPos, 313);
    
    		// Login Box
    		if (loginScreenState == 2) {
    
    
    			int j = centerY - 40;
    
    			//newSmallFont.drawString("@yel@Forgotten your password? @whi@Click here.", 280, 346, 0xffffff, 0x191919,
    					//255);
    
    			newSmallFont.drawString("Remember username", 283, 308, 0xffffff, 0x191919, 255);
    			newSmallFont.drawString("Remember password", 414, 308, 0xffffff, 0x191919, 255);
    
    			if (!informationFile.isUsernameRemembered()) {
    				if (!rememberMeHover) {
    					loginAsset0.drawSprite(264, 295);
    				} else {
    					loginAsset1.drawSprite(264, 295);
    				}
    			} else {
    				if (!rememberMeHover) {
    					loginAsset2.drawSprite(264, 295);
    				} else {
    					loginAsset3.drawSprite(264, 295);
    				}
    			}
    			loginAsset4.drawARGBSprite2(currentGameWidth / 2 - (336 / 2), 25);
    			if (!informationFile.isPasswordRemembered()) {
    				if (!rememberPasswordHover) {
    					loginAsset0.drawSprite(395, 295);
    				} else {
    					loginAsset1.drawSprite(395, 295);
    				}
    			} else {
    				if (!rememberPasswordHover) {
    					loginAsset2.drawSprite(395, 295);
    				} else {
    					loginAsset3.drawSprite(395, 295);
    				}
    			}
    
    			// if (flag) {
    			int i1 = myWidth - 80;
    			int l1 = myHeight + 50;
    			newRegularFont.drawString("Register", i1, l1 + 5, 0xffffff, 0x191919, 255);
    			i1 = myWidth / 2 + 80;
    			titleButton.drawBackground(i1 - 73, l1 - 20);
    			newRegularFont.drawString("Login", i1, l1 + 5, 0xffffff, 0x191919, 255);
    			// }
    		}
    		loginScreenGraphicsBuffer.drawGraphics(0, 0, super.graphics);
    	}
    Reply With Quote  
     

  3. #73  
    Registered Member

    Join Date
    Feb 2015
    Posts
    830
    Thanks given
    12
    Thanks received
    200
    Rep Power
    118
    Quote Originally Posted by Faaith View Post
    [CENTER]
    Here's a 5 min client work.

    Attached image

    Nice of you to also put in some work to help out.
    Attached image
    Reply With Quote  
     

  4. #74  
    Registered Member
    Join Date
    Nov 2017
    Posts
    304
    Thanks given
    36
    Thanks received
    75
    Rep Power
    3
    Quote Originally Posted by Dinh View Post
    Nice of you to also put in some work to help out.
    A lot more to come soon





    v1.01
    Reply With Quote  
     

  5. Thankful user:


  6. #75  
    Registered Member
    Join Date
    Dec 2019
    Posts
    11
    Thanks given
    7
    Thanks received
    0
    Rep Power
    0
    I cant seem to get this damn thing to work. What should i do? when i go to run i get: Error: Unable to initialize main class com.client.Client
    Caused by: java.lang.NoClassDefFoundError: com/thoughtworks/xstream/converters/reflection/ReflectionProvider
    @Pj And Run
    Reply With Quote  
     

  7. #76  
    Registered Member
    Join Date
    Sep 2018
    Age
    26
    Posts
    27
    Thanks given
    14
    Thanks received
    7
    Rep Power
    12
    This project is way old and I do apologize but I'm pretty much out of the rsps community and do not really have time to help :/
    Attached image
    Reply With Quote  
     

  8. #77  
    Registered Member

    Join Date
    Feb 2015
    Posts
    830
    Thanks given
    12
    Thanks received
    200
    Rep Power
    118
    For users still deciding to use this base, I will be creating an open source version of this for users to contribute to as well as an "updated" version of the files that I have done

    Links:
    Server: https://github.com/clivester90/MysticPS-GameServer.git
    Client: https://github.com/clivester90/MysticPS-GameClient.git

    Updates just done:
    - Renaming of server side packets so things are easier to understand (sendFrame126 is now sendString) (sendFrame36 is now sendConfig) That sort of thing.
    - Further refactoring of code and java variable version changes.

    I'm purely using this base to give back to the community for those newer users as well looking for a base to use for learning.
    Attached image
    Reply With Quote  
     

  9. Thankful user:


  10. #78  
    Registered Member

    Join Date
    Nov 2019
    Posts
    177
    Thanks given
    0
    Thanks received
    134
    Rep Power
    389
    Thanks for your contribution
    Reply With Quote  
     

  11. Thankful user:


  12. #79  
    Registered Member
    Join Date
    Aug 2017
    Posts
    69
    Thanks given
    3
    Thanks received
    6
    Rep Power
    14
    Can i fix the missing side of the wall north of the bank?
    Reply With Quote  
     

  13. #80  
    Registered Member
    Join Date
    May 2018
    Posts
    67
    Thanks given
    12
    Thanks received
    22
    Rep Power
    12
    Quote Originally Posted by Remi View Post
    Nice release I guess, kinda weird how you took this from Kodai though,
    https://i.imgur.com/sczEGWs.gif

    A lot of the map looks heavily inspired from us too. I bet Skill who made the map would be flattered

    Good to get inspiration from somewhere
    Attached image
    Reply With Quote  
     

Page 8 of 11 FirstFirst ... 678910 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [317] Mystic-PS | Working Scythe | Raids | Brand New
    By Pj And Run in forum Advertise
    Replies: 20
    Last Post: 11-01-2018, 07:33 PM
  2. [TUT]Adding scanlines[PS CS2]
    By Klaasje in forum Tutorials
    Replies: 1
    Last Post: 12-24-2007, 05:19 AM
  3. [TUT]Creating a userbar[PS CS2]
    By Klaasje in forum Tutorials
    Replies: 2
    Last Post: 09-26-2007, 06:30 PM
  4. [TUT]Adding reflection to a userbar/sig[PS CS2]
    By Klaasje in forum Tutorials
    Replies: 0
    Last Post: 09-22-2007, 02:17 PM
  5. First userbar on ps
    By Killah in forum Showcase
    Replies: 1
    Last Post: 07-27-2007, 01:28 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •