Fishing Bubbles?

All Helbreath Server Source Discussion here.
Post Reply
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Anyone know wish function handles the spot for the "rare bubbles" of fishing? FishProcesor or FishGenerator or w/e just trying to see why in the hell they are SO DAMN RARE to spawn :(
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
1+12
Member
Posts: 173
Joined: Sat Feb 04, 2006 5:05 pm

Post by 1+12 »

max-fish  = 25
fish-point = 0  186 190
fish-point = 1  186 191
fish-point = 2  187 190
fish-point = 3  199 182
fish-point = 4  200 181
fish-point = 5  206 177
fish-point = 6  207 177
fish-point = 7  208 178
fish-point = 8  217 184
fish-point = 9  219 185
fish-point = 10 229 194
fish-point = 11 230 193
fish-point = 12 219 201
fish-point = 13 220 200
fish-point = 14 221 199
fish-point = 15 206 209
fish-point = 16 207 209
fish-point = 17 208 208
fish-point = 18 193 212
fish-point = 19 195 213
fish-point = 20 178 202
fish-point = 21 179 202 
fish-point = 22 180 203 
fish-point = 23 196 19 
fish-point = 24 197 19
fish-point = 25 238 25
fish-point = 26 238 26
I found that In my mapdata folder of each main city example:Elvine,Aresden,Middleland,PromiseLand.

Look in the txt files and you will see it near the bottom, change those numbers around to make spawns in the water.

Does this help you?
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

1 wrote:
max-fish   = 25
fish-point = 0  186 190
fish-point = 1  186 191
fish-point = 2  187 190
fish-point = 3  199 182
fish-point = 4  200 181
fish-point = 5  206 177
fish-point = 6  207 177
fish-point = 7  208 178
fish-point = 8  217 184
fish-point = 9  219 185
fish-point = 10 229 194
fish-point = 11 230 193
fish-point = 12 219 201
fish-point = 13 220 200
fish-point = 14 221 199
fish-point = 15 206 209
fish-point = 16 207 209
fish-point = 17 208 208
fish-point = 18 193 212
fish-point = 19 195 213
fish-point = 20 178 202
fish-point = 21 179 202 
fish-point = 22 180 203 
fish-point = 23 196 19 
fish-point = 24 197 19
fish-point = 25 238 25
fish-point = 26 238 26
I found that In my mapdata folder of each main city example:Elvine,Aresden,Middleland,PromiseLand.

Look in the txt files and you will see it near the bottom, change those numbers around to make spawns in the water.

Does this help you?
Thanks for reply and your intention.

Though, this ain't what I'm looking for.
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Hypnotoad
Member
Posts: 100
Joined: Wed Apr 28, 2004 8:16 pm

Post by Hypnotoad »

roll dice 1 to 9...if 9 then roll another dice 1 to 150..if 1,2,3, 10,11,20,30,40,50,60,70,80,90,95 then give rare item.

so the math to get a rare item instead of fish is:
0.1111 x .0933 = 0.01036563 -> 1.04%

so if you want your servers fisherman to get items that arnt fish, the only thing you can tell them to do is keep fishing the fish, and eventually a bubble with an item will come out. if you want to increase the chance from 1.04% up to the maximum 11.2% which is possible reduce the 150 to something like idice(1,14) and chance the cases of the first CASE 9 to case 1, case 2, case 3, case 4, case 5, case 6 to 14....

Code: Select all

  	switch (iDice(1,9)) { 
  	case 1:   strcpy(cItemName, "RedCarp"); sDifficulty = iDice(1,10) + 20; break; 
  	case 2:   strcpy(cItemName, "GreenCarp"); sDifficulty = iDice(1,5)  + 10; break; 
  	case 3:   strcpy(cItemName, "GoldCarp"); sDifficulty = iDice(1,10) + 1;  break; 
  	case 4:   strcpy(cItemName, "CrucianCarp"); sDifficulty = 1;  break;    
  	case 5:   strcpy(cItemName, "BlueSeaBream"); sDifficulty = iDice(1,15) + 1;  break; 
  	case 6:   strcpy(cItemName, "RedSeaBream"); sDifficulty = iDice(1,18) + 1;  break; 
  	case 7:   strcpy(cItemName, "Salmon"); sDifficulty = iDice(1,12) + 1;  break; 
  	case 8:   strcpy(cItemName, "GrayMullet"); sDifficulty = iDice(1,10) + 1;  break; 
  	case 9: 
    switch (iDice(1,150)) { 
    case 1: 
    case 2: 
    case 3: 
    	strcpy(cItemName, "PowerGreenPotion"); 
    	sDifficulty = iDice(5,4) + 30; 
    	break; 

    case 10: 
    case 11: 
    	strcpy(cItemName, "SuperPowerGreenPotion"); 
    	sDifficulty = iDice(5,4) + 50; 
    	break; 

    case 20: 
    	strcpy(cItemName, "Dagger+2"); 
    	sDifficulty = iDice(5,4) + 30; 
    	break; 

    case 30: 
    	strcpy(cItemName, "LongSword+2"); 
    	sDifficulty = iDice(5,4) + 40; 
    	break; 

    case 40: 
    	strcpy(cItemName, "Scimitar+2"); 
    	sDifficulty = iDice(5,4) + 50; 
    	break; 

    case 50: 
    	strcpy(cItemName, "Rapier+2"); 
    	sDifficulty = iDice(5,4) + 60; 
    	break; 

    case 60: 
    	strcpy(cItemName, "Flameberge+2"); 
    	sDifficulty = iDice(5,4) + 60; 
    	break; 

    case 70: 
    	strcpy(cItemName, "WarAxe+2"); 
    	sDifficulty = iDice(5,4) + 50; 
    	break; 

    case 90: 
    	strcpy(cItemName, "Ruby"); 
    	sDifficulty = iDice(5,4) + 40; 
    	break; 

    case 95: 
    	strcpy(cItemName, "Diamond"); 
    	sDifficulty = iDice(5,4) + 40; 
    	break; 
    } 
  	break;
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Hypnotoad wrote: roll dice 1 to 9...if 9 then roll another dice 1 to 150..if 1,2,3, 10,11,20,30,40,50,60,70,80,90,95 then give rare item.

so the math to get a rare item instead of fish is:
0.1111 x .0933 = 0.01036563 -> 1.04%

so if you want your servers fisherman to get items that arnt fish, the only thing you can tell them to do is keep fishing the fish, and eventually a bubble with an item will come out. if you want to increase the chance from 1.04% up to the maximum 11.2% which is possible reduce the 150 to something like idice(1,14) and chance the cases of the first CASE 9 to case 1, case 2, case 3, case 4, case 5, case 6 to 14....

Code: Select all

  	switch (iDice(1,9)) { 
  	case 1:   strcpy(cItemName, "RedCarp"); sDifficulty = iDice(1,10) + 20; break; 
  	case 2:   strcpy(cItemName, "GreenCarp"); sDifficulty = iDice(1,5)  + 10; break; 
  	case 3:   strcpy(cItemName, "GoldCarp"); sDifficulty = iDice(1,10) + 1;  break; 
  	case 4:   strcpy(cItemName, "CrucianCarp"); sDifficulty = 1;  break;    
  	case 5:   strcpy(cItemName, "BlueSeaBream"); sDifficulty = iDice(1,15) + 1;  break; 
  	case 6:   strcpy(cItemName, "RedSeaBream"); sDifficulty = iDice(1,18) + 1;  break; 
  	case 7:   strcpy(cItemName, "Salmon"); sDifficulty = iDice(1,12) + 1;  break; 
  	case 8:   strcpy(cItemName, "GrayMullet"); sDifficulty = iDice(1,10) + 1;  break; 
  	case 9: 
    switch (iDice(1,150)) { 
    case 1: 
    case 2: 
    case 3: 
    	strcpy(cItemName, "PowerGreenPotion"); 
    	sDifficulty = iDice(5,4) + 30; 
    	break; 

    case 10: 
    case 11: 
    	strcpy(cItemName, "SuperPowerGreenPotion"); 
    	sDifficulty = iDice(5,4) + 50; 
    	break; 

    case 20: 
    	strcpy(cItemName, "Dagger+2"); 
    	sDifficulty = iDice(5,4) + 30; 
    	break; 

    case 30: 
    	strcpy(cItemName, "LongSword+2"); 
    	sDifficulty = iDice(5,4) + 40; 
    	break; 

    case 40: 
    	strcpy(cItemName, "Scimitar+2"); 
    	sDifficulty = iDice(5,4) + 50; 
    	break; 

    case 50: 
    	strcpy(cItemName, "Rapier+2"); 
    	sDifficulty = iDice(5,4) + 60; 
    	break; 

    case 60: 
    	strcpy(cItemName, "Flameberge+2"); 
    	sDifficulty = iDice(5,4) + 60; 
    	break; 

    case 70: 
    	strcpy(cItemName, "WarAxe+2"); 
    	sDifficulty = iDice(5,4) + 50; 
    	break; 

    case 90: 
    	strcpy(cItemName, "Ruby"); 
    	sDifficulty = iDice(5,4) + 40; 
    	break; 

    case 95: 
    	strcpy(cItemName, "Diamond"); 
    	sDifficulty = iDice(5,4) + 40; 
    	break; 
    } 
  	break;
I thought of this...but didin't thought will work lolz...thanks Hypno. :)
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Post Reply