Author Topic: New source coding  (Read 1572 times)

Offline 3lv3n snip3r

  • Newbie
  • *
  • Posts: 17
  • Karma 0
  • Location: UR MOM
    • View Profile
New source coding
« on: May 19, 2011, 04:32:18 am »
Hey its me, 3lv3n snip3r... if you guys need any help coding, ill help, because im pretty good at coding delta's.

I can make a minigame just like the warriors guild with the cyclops.
I can make awesome interfaces.
I can add custom items (Ex. Spirit shields, PVP Armors, Primal Armor, Dung Cape etc.)
I can make dangerous/fun pk areas.
A custom ::players command (tells you what city/place they are in)
I can make extreme potions/overload with right animations/emote
I can make a custom GE (Buy/Sell stuff)
Can add Dueling (If the source has full Duel Arena)
100% Pest Control
Custom Bounty Hunter
100% Smithing (Bronze-Rune/All smithing items/correct interfaces)
Can add 10x hits
Fully degradable Barrows Armors
Adding/Deleting Objects
Repeating messages with timers
I can make it snow lol
Checkbank command
I can make player/server stats on quest tab
I can add xp orb (use a command to open it and close it)

And way more, just can't think of them off the top of my head :)

___________________________________________

Heres a helpful and easy thing to do.

Unlimited Running

Go to player.java

and search for
Code: [Select]
public int playerEnergy
If you find it, change the number to 2147000000

If not, search
Code: [Select]
public int playerRunecrafting = 20;
and 2 lines down, or double spaced, add this:

Code: [Select]
public int playerEnergy = 2147000000;
Now theres unlimited running!


« Last Edit: May 19, 2011, 05:03:28 am by 3lv3n snip3r »

Share on Bluesky Share on Facebook


Offline oliver

  • Owner
  • Junior
  • *
  • Posts: 53
  • Karma 1
    • View Profile
Re: New source coding
« Reply #1 on: May 19, 2011, 11:55:22 am »
Thank you but I think it's better without inlimited running :P

But feel free to make a corp boss code + an area for it

Offline Calii

  • Donator
  • Newbie
  • *
  • Posts: 5
  • Karma 1
    • View Profile
Re: New source coding
« Reply #2 on: May 19, 2011, 08:56:59 pm »
Awesome Eleven!!
i think you would be helpful.
Between, oliver, when will donor island will be done?
& why not unlimited running?

Offline David

  • Donator
  • Newbie
  • *
  • Posts: 13
  • Karma 0
    • View Profile
Re: New source coding
« Reply #3 on: May 20, 2011, 12:33:15 am »
With unlimited running for pking it's so easy to run away and **** my only reason.

Offline 3lv3n snip3r

  • Newbie
  • *
  • Posts: 17
  • Karma 0
  • Location: UR MOM
    • View Profile
Re: New source coding
« Reply #4 on: May 20, 2011, 12:51:36 am »
Corporeal Beast ints:

Go to Class5.java and there should already be some monster ints there, add this in there.
Code: [Select]
if(i == 2697) { // NPC ID you can change this if u like
    aClass30_Sub2_Sub2_60.anInt1406 = anIntArray72[630];
    class5.method165(true, aClass30_Sub2_Sub2_60); // Collect original NPC data
    class5.aStringArray66 = new String[5];
    class5.aStringArray66[1] = "Attack";
    class5.anIntArray94 = new int[1]; // Number of models the NPC uses
    int changedColors = 1; // Number of model colors changed on the NPC
    class5.anIntArray76 = new int[changedColors];
    class5.anIntArray70 = new int[changedColors];
    class5.anIntArray76[0] = 0; // Original model color
    class5.anIntArray70[0] = 0; // Changed model color
    class5.anIntArray94[0] = 9389; // 28002
    class5.aString65 = "Corpereal Beast"; // NPC name
    class5.anInt61 = 785; //combat level
    class5.aByteArray89 = "The ultimate beast who cannot be beat!".getBytes(); // NPC description
}

I also have Spirit Shield models + ints.

Code: [Select]
case 15020: // ItemID
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = 2;
class8.anInt181 = 1540;
class8.anInt190 = 336;
class8.anInt198 = 1020;
class8.anInt204 = 97;
class8.anInt169 = -1;
class8.anInt194 = 15;
class8.anInt165 = 1;
class8.anInt200 = 1;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Arcane spirit shield";
class8.aByteArray178 = "An ethereal shield with an arcane sigil attached to it.".getBytes();
break;
case 15019: // ItemID
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = 3;
class8.anInt181 = 1540;
class8.anInt190 = 336;
class8.anInt198 = 1020;
class8.anInt204 = 97;
class8.anInt169 = -1;
class8.anInt194 = 15;
class8.anInt165 = 4;
class8.anInt200 = 4;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Spectral spirit shield";
class8.aByteArray178 = "An ethereal shield with an spectral sigil attached to it.".getBytes();
break;
case 15018: // ItemID
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = 5;
class8.anInt181 = 1540;
class8.anInt190 = 336;
class8.anInt198 = 1020;
class8.anInt204 = 97;
class8.anInt169 = -1;
class8.anInt194 = 15;
class8.anInt165 = 6;
class8.anInt200 = 6;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Divine spirit shield";
class8.aByteArray178 = "An ethereal shield with an divine sigil attached to it.".getBytes();
break;
case 15017: // ItemID
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = 7;
class8.anInt181 = 1540;
class8.anInt190 = 336;
class8.anInt198 = 1020;
class8.anInt204 = 97;
class8.anInt169 = -1;
class8.anInt194 = 15;
class8.anInt165 = 8;
class8.anInt200 = 8;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Spirit shield";
class8.aByteArray178 = "An ethereal shield.".getBytes();
break;
case 15016: // ItemID
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = 9;
class8.anInt181 = 1540;
class8.anInt190 = 336;
class8.anInt198 = 1020;
class8.anInt204 = 97;
class8.anInt169 = -1;
class8.anInt194 = 15;
class8.anInt165 = 10;
class8.anInt200 = 10;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Blessed spirit shield";
class8.aByteArray178 = "An ethereal shield that has been blessed with holy powers.".getBytes();
break;
case 15015: // ItemID
class8.aStringArray189 = new String[5];
class8.aStringArray189[1] = "Wield";
class8.anInt174 = 11;
class8.anInt181 = 1540;
class8.anInt190 = 336;
class8.anInt198 = 1020;
class8.anInt204 = 97;
class8.anInt169 = -1;
class8.anInt194 = 15;
class8.anInt165 = 12;
class8.anInt200 = 12;
class8.anInt188 = -1;
class8.anInt164 = -1;
class8.anInt175 = -1;
class8.anInt197 = -1;
class8.aString170 = "Elysian spirit shield";
class8.aByteArray178 = "An ethereal shield with an elysian sigil attached to it.".getBytes();
break;

Here are the models: http://up.ht/l0RGPS




« Last Edit: May 20, 2011, 02:24:18 am by 3lv3n snip3r »

Offline CodyV20

  • Co-Owner
  • Junior
  • *
  • Posts: 54
  • Karma 3
  • Location: Your place.
    • View Profile
Re: New source coding
« Reply #5 on: May 20, 2011, 02:05:42 am »
Awesome Eleven!!
i think you would be helpful.
Between, oliver, when will donor island will be done?
& why not unlimited running?

Unlimited running, not going to happen.

About the Donator Island, I will hopefully have it up in the next day or so.
It's a huge place and I'll have everything added there, such as stallings, trees, etc. I hope to make them better EXP for a advantage for Donators. It's not no island but it's huge. Donator Shop has to be completed still.

Another update I hope to add quickly is changing that stalls give items worth the cash value instead of cash this way people don't auto stalls. They would have to go to the shop and sell the items.

Offline 3lv3n snip3r

  • Newbie
  • *
  • Posts: 17
  • Karma 0
  • Location: UR MOM
    • View Profile
Re: New source coding
« Reply #6 on: May 20, 2011, 02:28:53 am »
Did you and or Oliver want Corporeal Beast ints?

Here is an example of the Quest Tab:

Code: [Select]
sendQuest("Frozn Tyme", 640);
sendQuest("", 663);
sendQuest("@or1@Players online: @gre@"+PlayerHandler.getPlayerCount()+" ", 7332);
sendQuest("@or1@Kill/Death Ratio: "+KC+"/"+DC+"", 7333);
sendQuest("@or1@Combat: @gre@"+combatLevel+"", 7334);
if(donator == 0){
sendQuest("@or1@Donator: @red@No", 7336);
}
if(donator == 1){
sendQuest("@or1@Donator: @gre@Yes", 7336);
}
if(donator == 2){
sendQuest("@or1@Super Donator: @gre@Yes", 7336);
}
sendQuest("@or1@Name: @gre@"+playerName+" ", 7383);
sendQuest("@or1@Server Hoster: @gre@Frozn", 7339);
if(playerRights == 1){
sendQuest("@or1@Rank: @gre@Moderator", 7338);
}
if(playerRights == 2){
sendQuest("@or1@Rank: @gre@Administrator", 7338);
}
if(playerRights == 3){
sendQuest("@or1@Rank: @gre@Super-Admin", 7338);
}
if(playerRights == 4){
sendQuest("@or1@Rank: @gre@Co-Owner", 7338);
}
if(playerRights == 0){
sendQuest("@or1@Rank: @gre@Normal Player", 7338);
}
if(playerName.equalsIgnoreCase("frozn")){
sendQuest("@or1@Rank: @gre@Owner & Coder", 7338);
}
sendQuest("@or1@PC Points: @gre@"+pcPoints+"", 7340);
sendQuest("@or1@PK Points: @gre@"+pkPoints+"", 7346);
if(donate == 0){
sendQuest("@or1@Donator Points: @gre@0", 7341);
}
if(donate == 1){
sendQuest("@or1@Donator Points: @gre@1", 7341);
}
if(donate == 2){
sendQuest("@or1@Donator Points: @gre@2", 7341);
}
if(donate == 3){
sendQuest("@or1@Donator Points: @gre@3", 7341);
}
sendQuest("@or1@Prestige Points: @gre@"+pPrestige+".", 7342);

You need the right codes in your source though, like declaring most of it.

« Last Edit: May 20, 2011, 04:10:05 am by 3lv3n snip3r »

Offline 3lv3n snip3r

  • Newbie
  • *
  • Posts: 17
  • Karma 0
  • Location: UR MOM
    • View Profile
Re: New source coding
« Reply #7 on: May 20, 2011, 03:47:06 am »
With unlimited running for pking it's so easy to run away and **** my only reason.

Usually when pking, you are mainly in one spot and have if not 100% run, close to it.

Offline Calii

  • Donator
  • Newbie
  • *
  • Posts: 5
  • Karma 1
    • View Profile
Re: New source coding
« Reply #8 on: May 20, 2011, 11:54:06 pm »
:'( alright guys.. no unlimited running..

Between, i already know the "donor" huge thingy, anyways, and yeah, its huge at all..
Also, Cody... :'( i wanted spirit shield from staff shop xD lol

Offline oliver

  • Owner
  • Junior
  • *
  • Posts: 53
  • Karma 1
    • View Profile
Re: New source coding
« Reply #9 on: May 21, 2011, 08:57:55 am »
Thanks for the corp code, I added into my client, with the model that I downloaded.
Looks ok, but I need to now change it's attack methods etc..
« Last Edit: May 21, 2011, 09:29:22 am by oliver »

Offline David

  • Donator
  • Newbie
  • *
  • Posts: 13
  • Karma 0
    • View Profile
Re: New source coding
« Reply #10 on: May 21, 2011, 05:09:29 pm »
With unlimited running for pking it's so easy to run away and **** my only reason.

Usually when pking, you are mainly in one spot and have if not 100% run, close to it.

Well i mean if your deep in the wild and you run