Thread: PK point shop

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 PK point shop 
    Hyperventilate
    Guest
    I was looking at this:
    [Only registered and activated users can see links. ]
    It's exactly what I wanted!
    But the codes don't match the ones in my source.
    I heard RichScape and Delta were exactly alike, but they're different.
    I'm using the RichScape source and I can't find anything even identical to the stuff in that guide.
    Reply With Quote  
     

  2. #2  
    Hyperventilate
    Guest
    bump
    Reply With Quote  
     

  3. #3  
    Hyperventilate
    Guest
    I'm asking for help cause I can't do it on my own.
    Don't just say "I hope you can do the rest."
    Reply With Quote  
     

  4. #4  
    Hyperventilate
    Guest
    Quote Originally Posted by Gothic Kidd View Post
    its tellin you what to do..
    Yeah, but like the commands and stuff are completely different from the RichScape ones.
    Reply With Quote  
     

  5. #5  
    Registered Member Market Banned Market Banned

    Robin Spud's Avatar
    Join Date
    Aug 2008
    Age
    26
    Posts
    2,340
    Thanks given
    47
    Thanks received
    73
    Rep Power
    1068
    try learn a bit of java and dont rely on tuts? usually helps. u cnt do a tut with out knowing a bit of wht the tut is about or if u cnt find somet u give up n ask for help in your case
    Reply With Quote  
     

  6. #6  
    Hyperventilate
    Guest
    Well the shops are different.

    ---------- Post added at 10:29 PM ---------- Previous post was at 10:18 PM ----------

    Code:
    .\Command.java:215: cannot find symbol
    symbol  : variable pkPoints
    location: class Command
                            c.Send("You have currently " +pkPoints+ " Pk Points!");
                                                          ^
    Note: .\Stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    1 error
    Press any key to continue . . .


    ---------- Post added at 10:38 PM ---------- Previous post was at 10:29 PM ----------

    The arrow is pointing to the p in pkPoints.

    ---------- Post added at 11:10 PM ---------- Previous post was at 10:38 PM ----------

    Okay, now I get this... o.o
    Code:
    .\Client.java:10264: variable TotPrice2 might not have been initialized
                        if (pkPoints >= TotPrice2) {
                                        ^
    Note: .\Stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Jul 2007
    Age
    27
    Posts
    146
    Thanks given
    11
    Thanks received
    3
    Rep Power
    135
    Ahh, hello my freinds. Having a fine day?

    On topic, when it says this error...

    Code:
    symbol  : variable pkPoints
    that means the variable (can be an int, bool, anything) is missing.

    Do as he says or just remove that.
    I thought what I'd do was, I'd pretend I was one of those deaf-mutes. That way I wouldn't have to have any goddam stupid useless conversations with anybody. If anybody wanted to tell me something, they'd have to write it on a piece of paper and shove it over to me. They'd get bored as hell doing that after a while, and then I'd be through with having conversations for the rest of my life.
    Reply With Quote  
     

  8. #8  
    Hyperventilate
    Guest
    I did this:
    Code:
    		if (cmd.equals("mypks")) {
    					int pkPoints = 0;
    			c.Send("You have currently have " +c.pkPoints+ " PK Points!");
    		}
    Code:
    	boolean ApplyDead() {
    		if (!IsDead) {
    			DeathDelay = System.currentTimeMillis();
    			IsDead = true;
    			Death = 1;
    			if (ret) {
    				Retribution();
    			}
    			if (IsAttacking) {
    				ResetAttack();
    			}
    			if (IsAttackingNPC) {
    				ResetAttackNPC();
    			}
    			RemoveNPC();
    		}
    		if (System.currentTimeMillis() - DeathDelay > 1500 && Death == 1 && IsDead) {
    			Death = 2;
    			anim(2304);
    			updateRequired = true;
    			appearanceUpdateRequired = true;
    		}
    		if (System.currentTimeMillis() - DeathDelay > 3500 && Death == 2 && IsDead) {
    			if (isInFightPits() && !isInFightCaves()) {
    				Teleport(2399, 5170, 0);
    			}
    			if (!isInFightPits() && isInFightCaves()) {
    				Saveme();
    			}
    			if (!isInFightPits() && !isInFightCaves()) {
    				youdied();
    				Killer();
    			}
    			clearInterface();
    			Dead();
    		}
    		if (System.currentTimeMillis() - DeathDelay > 3500 && Death == 3 && IsDead) {
    			IsDead = false;
    			Death = 0;
    			UpdateHP(99);
    			playerLevel[5] = getLevelForXP(playerXP[5]);
    			frame1();
    			Send("Oh dear, you have died! You have lost 2 PK Points!");
    		}
    		return true;
    	}
    How do I make it so that they lose 2 PK points when they die?
    My killer add 1 PK point is:
    Code:
    				k.Send("You have defeated "+playerName+", you have gained 1 PK point.");
    k.pkPoints += 1;
    				k.ResetAttack();
    I know how to do that because the variable 'k' but I don't know how to subtract 2 PK points when they die.
    Reply With Quote  
     

  9. #9  
    Hyperventilate
    Guest
    That worked thanks! But now I'm trying to add it so it shows your how many PK points you have on login, so I tried this:
    Code:
    		Send("Welcome to **.");
    					int pkPoints = 0;
    			Send("You have currently have " +c.pkPoints+ " PK Points!");
    Didn't work, so I tried:
    Code:
    		Send("Welcome to **.");
    					int pkPoints = 0;
    			Send("You have currently have " +pkPoints+ " PK Points!");
    Worked, but the number shows up as 0 every time, so I tried:
    Code:
    		Send("Welcome to **.");
    					int pkPoints = 0;
    			Send("You have currently have " +p.pkPoints+ " PK Points!");
    Didn't work, I don't know what to do now.
    Reply With Quote  
     

  10. #10  
    Hyperventilate
    Guest
    Thanks, it worked. Now I need to find out how to eliminate GP as the currency COMPLETELY for all shops that way our currency would be PK Points, how would I do so?
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •