Thread: Vencillio source Help

Results 1 to 10 of 10
  1. #1 Vencillio source Help 
    Registered Member
    Join Date
    Sep 2009
    Posts
    99
    Thanks given
    23
    Thanks received
    5
    Rep Power
    0
    Fixed
    Reply With Quote  
     

  2. #2  
    Donator
    Eric's Avatar
    Join Date
    Feb 2015
    Posts
    326
    Thanks given
    22
    Thanks received
    49
    Discord
    View profile
    Rep Power
    29
    In all honesty, if you are looking to improve your developing skills, I'd consider working with a different base. I personally downloaded Vencillio as soon as it was released (Friends with the old owner) and found soooo many bugs that needed to be fixed, both Client side and Server side. It would be much more worth it to start from scratch.

    If you insist on staying with this base, PM me and I will look through the code as to what you are looking to remove to fix it. Will take about a week. Just pm me on here.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Sep 2009
    Posts
    99
    Thanks given
    23
    Thanks received
    5
    Rep Power
    0
    Ive fixed most bugs, still have quite a bit to do, but im just unsure on checks and why my NPCs suddendly stopped spawning when i added the new data.
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Sep 2009
    Posts
    99
    Thanks given
    23
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by Plado View Post
    Change the npc bits
    . I'll try that when i get home, ty for the suggestion.

    EDIT: This is the NPC Bit Code: (Incase you guys/gals can figure out how to increase correctly before i)

    Server:

    public static void addNewNpc(StreamBuffer.OutBuffer out, Player player, Mob mob) {
    out.writeBits(14, mob.getIndex());
    Location delta = Utility.delta(player.getLocation(), mob.getLocation());
    out.writeBits(5, delta.getY());
    out.writeBits(5, delta.getX());
    out.writeBits(1, 0);
    out.writeBits(16, mob.getId());
    out.writeBit(true);
    }

    Client:

    private void updateNPCs(Stream stream, int i) {
    anInt839 = 0;
    anInt893 = 0;
    method139(stream);
    method46(i, stream);
    method86(stream);
    for (int k = 0; k < anInt839; k++) {
    int l = anIntArray840[k];
    if (npcArray[l].anInt1537 != loopCycle) {
    npcArray[l].desc = null;
    npcArray[l] = null;
    }
    }

    if (stream.currentOffset != i) {
    Signlink.reporterror(myUsername + " size mismatch in getnpcpos - pos:" + stream.currentOffset + " psize:" + i);
    throw new RuntimeException("eek");
    }
    for (int i1 = 0; i1 < npcCount; i1++)
    if (npcArray[npcIndices[i1]] == null) {
    Signlink.reporterror(myUsername + " null entry in npc list - pos:" + i1 + " size:" + npcCount);
    throw new RuntimeException("eek");
    }

    }
    Reply With Quote  
     

  6. #5  
    Donator
    Eric's Avatar
    Join Date
    Feb 2015
    Posts
    326
    Thanks given
    22
    Thanks received
    49
    Discord
    View profile
    Rep Power
    29
    Try finding where npcCount i set in the script, and if that has anything to do with it.
    Reply With Quote  
     

  7. Thankful user:


  8. #6  
    Registered Member
    The Reverse's Avatar
    Join Date
    Nov 2014
    Posts
    945
    Thanks given
    168
    Thanks received
    289
    Rep Power
    520
    Quote Originally Posted by Grayson.F View Post
    You want help? Delete the source and start with something else.
    We already have enough shitheads like you who don't appreciate a good release. I doubt you even tried vencillio.

    Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that.
    Martin Luther King, Jr.

    Reply With Quote  
     

  9. #7  
    Registered Member
    Join Date
    Sep 2009
    Posts
    99
    Thanks given
    23
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by The Reverse View Post
    We already have enough shitheads like you who don't appreciate a good release. I doubt you even tried vencillio.
    Well in his Defence, Vencillio isnt the easiest to code, and even im still trying to figure out most of their set up, but yeah i agree, those comments arnt helpful at all and just clog out the thread and goes towards his post count. Woulda been better to not comment anything at all
    Reply With Quote  
     

  10. #8  
    Donator
    Eric's Avatar
    Join Date
    Feb 2015
    Posts
    326
    Thanks given
    22
    Thanks received
    49
    Discord
    View profile
    Rep Power
    29
    Taking a more indepth look at it, look for npcIndices and npcArray, you may need to increase the size of the Array for the npc's. If that isn't it post an update. Im not finding anything in my source that would stop you from adding npc's. If all else fails, try starting fresh with the original source download and dumping the data again. Maybe something went wrong in the dump.
    Reply With Quote  
     

  11. #9  
    Registered Member
    Join Date
    Sep 2009
    Posts
    99
    Thanks given
    23
    Thanks received
    5
    Rep Power
    0
    Okay ill be home in an hour to look. Nothing is wrong with the NPCs, they just arnt spawning. I didnt first think it was the npc bit, cause if i added def to say npc 19234. Then spawned him, he looks fine. But literally everyone of my npcs will not spawn, as if i deleted my npcspawning.java or w/e vencillio calls it
    Reply With Quote  
     

  12. #10  
    Registered Member
    The Reverse's Avatar
    Join Date
    Nov 2014
    Posts
    945
    Thanks given
    168
    Thanks received
    289
    Rep Power
    520
    Quote Originally Posted by Fuck Friends View Post
    Do you think I give two fucks? Just copying every other useless cunt on these forums
    What are you on about?

    Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that.
    Martin Luther King, Jr.

    Reply With Quote  
     


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. f2p source help
    By adamhelloman8 in forum Help
    Replies: 1
    Last Post: 03-15-2009, 12:23 AM
  2. ZDR source help....
    By Exsinity in forum Help
    Replies: 3
    Last Post: 01-09-2009, 11:02 PM
  3. 317 Server Sources Help.
    By Magers in forum Help
    Replies: 9
    Last Post: 01-02-2009, 07:01 PM
  4. Source help -.-
    By Exsinity in forum Help
    Replies: 1
    Last Post: 01-01-2009, 12:22 PM
  5. my source help plz help me :(
    By Pirate tele in forum Help
    Replies: 1
    Last Post: 10-16-2008, 01:34 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •