Jump to content
MakeWebGames

Recommended Posts

Posted

This will take crystals from people when you mug them, just like it takes money from them.

Quote

Versions tested: Lite

Files to edit: 1

OPEN

attackwon.php

FIND

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

REPLACE WITH

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

EOM

NOTES: This will take a percentage of crystals. So the more crystals they have, the more this will take. Just like the money.

Posted

Steal Crystals when you Mug someone...

try this if u dont have a makebigint method... should work as long as u arent stealing 2 billion crystals :P

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 5 months later...
Posted

Re: Steal Crystals when you Mug someone...

 

codes in fine but i go to mug and still only get... money and EXP??

You're mugging someone who has no crystals aren't you? :roll:

  • 1 month later...
Posted

Re: Steal Crystals when you Mug someone...

Heres my make_bigint function which was given to me from a friend :)

works on all except v2 :-)

--If you use this please give me +1 force please!

open global_func.php and find where it says

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

add after

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

:)

or you can do with trans_fusions

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

:-) Yet again..if you use any of my posted stuff please be generous to give me +1 force :-) or not, It's just to see who i help :tongue:

  • 3 months later...
  • 2 months later...
  • 6 months later...
Posted

Re: [mccode] Steal Crystals when you Mug someone...

I know this topic hasn't had a reply for a long time, but I would like this feature in my game.

Now, I know this was tested with the Lite Version....but is there one for V2?

Cheers, The Ace

Posted

Re: [mccode] Steal Crystals when you Mug someone...

Yes there is. It isn't that hard to get work. Just basically take out make big int. haha. db and mysql.... Personally I have it customized to fit my game... then again... thats different though...

Posted

Re: [mccode] Steal Crystals when you Mug someone...

hold on guys there is a scipt ust on its own for mugging crystals this just complicates things

save this as attackcry.php

 

Note i didn't make this mod i just wonted to give you guys an easier option

edited out...last time Im telling you...if you dont make it it is NOT yours to post...THE END!

Guest Anonymous
Posted

Re: Steal Crystals when you Mug someone...

 

Versions tested: Lite

MCCodes v1.1 does not have support for big ints (> 2147483647) and as such does not have make_bigint.

Hmm, news to me. But Dab's has a point here, numbers above 2^31-1 can run into problems under PHP even on 64-bit boxes.

  • 1 year later...
Posted

Re: [mccode] Steal Crystals when you Mug someone...

Has anyone done this for v2?

If not... maybe some could hint hint lol

Would be cool if you could have

attackleave

attackhospitalize

attackmug - money

attackmcry - crystals..

Or make attackmug - mug crystals and money

Posted

Re: [mccode] Steal Crystals when you Mug someone...

Strats, you could always do it yourself...xD

Just edit attackmug I think it is.

Posted

Re: [mccode] Steal Crystals when you Mug someone...

Lol I could try. It would take me all night when I bet it would take someone else five mins lol

But I am gonna have a try :-D

I have edited 2 whole codes by myself now :wink:

lmao

Posted

Re: [mccode] Steal Crystals when you Mug someone...

I would not do this if people pay real money for crystals. Good way to upset your donators if they are losing crystals in a mug. If you were to limit it to 1 crystal per mug, well that might work. Depends how many mugs they get out of a bar really.

Posted

Re: [mccode] Steal Crystals when you Mug someone...

I have a crystal bank, If I Do chose to make it so people can mug crystals I would give them plenty of time for them to use the bank lol.

I like the idea of mugging crystals it's mean :lol:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...