[TUT - 508] 100% Full trading

Page 3 of 3 FirstFirst 123
Results 31 to 41 of 41
  1. #31
    Proficient Member stability666 is offline
    MemberRank
    Jan 2009 Join Date
    Maine, USA.Location
    165Posts

    Re: [TUT - 508] 100% Full trading

    Quote Originally Posted by Greg11011 View Post
    I only got one error when i did all this and that was ptrade.java could not be accessed and all the imports were correct and even the caps of the name itself were correct so idk whats wrong with it.
    Post the error.

  2. #32
    Novice Greg11011 is offline
    MemberRank
    Oct 2009 Join Date
    3Posts

    Re: [TUT - 508] 100% Full trading

    well i don't have it now i took the entire code out of it but i was something about the path it was given. i changed that and fixed it but then there were like 7 more errors.

    what base are you using this trading system for?

    ---------- Post added at 12:41 AM ---------- Previous post was at 12:41 AM ----------

    i have a bulby base so that may be why.

    ---------- Post added at 12:42 AM ---------- Previous post was at 12:41 AM ----------

    correction... you can add custom items to your 508... and that includes dragon claws....

  3. #33
    Novice 123is456 is offline
    MemberRank
    Jun 2009 Join Date
    1Posts

    Re: [TUT - 508] 100% Full trading

    Quote Originally Posted by grundyboy34 View Post
    Ok see if you see the problem it should be in this general area!
    PHP Code:
        /**
         * Send the map region and other positioning info to the client.
         * @param p The Player which the frame should be created for.
         */
        
    public void setMapRegion(Player p) {
            if (
    == null || p.stream == null || p.disconnected[0]) {
                return;
            }
            
    p.stream.createFrameVarSizeWord(142);
            
    p.stream.writeWordA(p.mapRegionX);
            
    p.stream.writeWordBigEndianA(p.currentY);
            
    p.stream.writeWordA(p.currentX);
            
    boolean forceSend true;
            
    p.rebuildNPCList true;

            if ((((
    p.mapRegionX 8) == 48) || ((p.mapRegionX 8) == 49))
                    && ((
    p.mapRegionY 8) == 48)) {
                
    forceSend false;
            }
            if (((
    p.mapRegionX 8) == 48) && ((p.mapRegionY 8) == 148)) {
                
    forceSend false;
            }
            for (
    int xCalc = (p.mapRegionX 6) / 8xCalc
                    
    <= ((p.mapRegionX 6) / 8); xCalc++) {
                for (
    int yCalc = (p.mapRegionY 6) / 8yCalc
                        
    <= ((p.mapRegionY 6) / 8); yCalc++) {
                    
    int region yCalc + (xCalc << 1786653352);

                    if (
    forceSend
                            
    || ((yCalc != 49) && (yCalc != 149) && (yCalc != 147)
                            && (
    xCalc != 50) && ((xCalc != 49) || (yCalc != 47)))) {
                        
    int[] mapData Engine.mapData.getData(region);

                        
    p.stream.writeDWord(mapData[0]);
                        
    p.stream.writeDWord(mapData[1]);
                        
    p.stream.writeDWord(mapData[2]);
                        
    p.stream.writeDWord(mapData[3]);
                    }
                }
            }
            
    p.stream.writeByteC(p.heightLevel);
            
    p.stream.writeWord(p.mapRegionY);
            
    p.stream.endFrameVarSizeWord();
        } 
    Vwalah. Just copy and paste that section over the one you had.
    And for one, this is a tutorial, not a question thread where you get people to spoon-feed you. For two, learn how to do things yourself, don't rely on other people.

  4. #34
    Account Upgraded | Title Enabled! TehByte is offline
    MemberRank
    Nov 2008 Join Date
    313Posts

    Re: [TUT - 508] 100% Full trading

    Why do you guys take things from other forums and transfer it here?
    You get members (active members) for origionality and tuts that arnt anywhere else.

  5. #35
    Valued Member Ragesource is offline
    MemberRank
    Oct 2008 Join Date
    ohioLocation
    127Posts

    Re: [TUT - 508] 100% Full trading

    Nice got it working thanks for a few tips man. I was having issues with this.

  6. #36
    Novice nams is offline
    MemberRank
    Nov 2009 Join Date
    1Posts

    Re: [TUT - 508] 100% Full trading

    k i followed all the steps (on a Bulby base though)
    And i get these 3 errors when i compile

    1. ./Bulby/players/Player.java:22: cannot find symbol
    symbol : class PTrade
    location: package Bulby.players.ptrade
    import Bulby.players.ptrade.PTrade;

    2. ./Bulby/players/Player.java:28: cannot find symbol
    symbol : class PTrade
    location: class Bulby.players.Player
    public PTrade pTrade;

    3. ./Bulby/players/Player.java:2235: cannot find symbol
    symbol : class PTrade
    location: class Bulby.players.Player
    pTrade = new PTrade(this);

    Help would really be appreciated
    Last edited by nams; 14-11-09 at 05:24 PM.

  7. #37
    Member DefMagee is offline
    MemberRank
    Nov 2009 Join Date
    TamworthLocation
    66Posts

    Re: [TUT - 508] 100% Full trading

    Thanks Mate , Been looking for a 100% Working one for AGESS!!

  8. #38
    Enthusiast AllanCZ_BR is offline
    MemberRank
    Oct 2004 Join Date
    BrazilLocation
    27Posts

    Re: [TUT - 508] 100% Full trading

    how u fix the interface bugs? cuz when the trade is finished all interfaces get invisible and dont get back...

  9. #39
    Novice willscape is offline
    MemberRank
    Aug 2010 Join Date
    1Posts

    Re: [TUT - 508] 100% Full trading

    PLEASE HELP ME , I am using a bulby source
    and when i try to compile i get :

    Code:
    .\Bulby\players\ptrade\PTrade.java:21: cannot find symbol
    symbol  : class BankUtils
    location: class Bulby.players.ptrade.PTrade
        private BankUtils bu = new BankUtils();
                ^
    .\Bulby\players\ptrade\TItem.java:1: class, interface, or enum expected
     * To change this template, choose Tools | Templates
     ^
    .\Bulby\players\ptrade\PTrade.java:25: cannot access Bulby.players.ptrade.TItem
    bad class file: .\Bulby\players\ptrade\TItem.java
    file does not contain class Bulby.players.ptrade.TItem
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
        private LinkedList<TItem> tradeItems = new LinkedList<TItem>();
                           ^
    Press any key to continue . . .



    PLEASE HELP ME I AM A NOOB AT CODING PLEASE
    Last edited by willscape; 23-08-10 at 11:30 PM.

  10. #40
    Account Upgraded | Title Enabled! Sledmore is offline
    MemberRank
    Jun 2009 Join Date
    1,133Posts

    Re: [TUT - 508] 100% Full trading

    Don't bump threads ^^ But on topic, nice tutorial (;

  11. #41
    Apprentice Opsi1133 is offline
    MemberRank
    Sep 2008 Join Date
    17Posts

    Re: [TUT - 508] 100% Full trading

    Wow this is so nice ;o thanks.



Page 3 of 3 FirstFirst 123

Advertisement