Jump to content
21Lockdown

A very simple milestones

Recommended Posts

This mod is a very simple mod that just shows the user what they have achieved. There is currently no rewards on this mod at the time being.

milestones.php

You're unable to view this code.

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

 

You can download icons here and upload them to /icons/

 

Screenshot

iooihj.jpg

Share this post


Link to post
Share on other sites

I took a few samples from this code, and modified it to daily missions. So each rollover players can do these missions and get rewarded for them.

 

You're unable to view this code.

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

 

Thank you. :)

Share this post


Link to post
Share on other sites

Plus,

in crime.php

You're unable to view this code.

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

 

in attack.php

You're unable to view this code.

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

 

And this in the rollover file,

You're unable to view this code.

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

Share this post


Link to post
Share on other sites

[ATTACH=CONFIG]418[/ATTACH]

I wonder if this could be converted mccode v2

 

Yes it could.

I converted it over if anyone would like it message me and I may put it up if the demand is there

45861699_Picture1.png.650aa46fac7d391105974fb3e8af2239.png

Edited by KyleMassacre

Share this post


Link to post
Share on other sites

Yeah I did do but no one wanted it so I didn't put it up and I lost it but its pretty simple to do.

you just need to change the

You're unable to view this code.

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

to

You're unable to view this code.

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

Edited by KyleMassacre

Share this post


Link to post
Share on other sites

Ok i have converted it and remove $rm because i dont know what this supposed to be. I have a table for crime stat, so change it to your stat table to fit your game.

 

You're unable to view this code.

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

Share this post


Link to post
Share on other sites
Ok i have converted it and remove $rm because i dont know what this supposed to be. I have a table for crime stat, so change it to your stat table to fit your game.

You're unable to view this code.

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

 

Easily customisable, easily worked with.. Enjoy!

Edited by Magictallguy
Updated

Share this post


Link to post
Share on other sites
How does 243 lines turned into 58 sound (the MC Craps version)?

You're unable to view this code.

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

 

Easily customisable, easily worked with.. Enjoy!

Curious why at the end of each line you have echo "< br / >"; (without spaces) when you could put that at the bottom of the function...

Share this post


Link to post
Share on other sites
Curious why at the end of each line you have echo "< br / >"; (without spaces) when you could put that at the bottom of the function...

I added in the line breaks after completing the function and simply didn't think lol

Code update

[update]

Code reverted..

This happens if I remove the line break from every line and just stick it at the end of the function:

http://screencast.com/t/l8KgdQCS

Edited by Magictallguy

Share this post


Link to post
Share on other sites
I took a few samples from this code, and modified it to daily missions. So each rollover players can do these missions and get rewarded for them.

 

You're unable to view this code.

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

 

Thank you. :)

 

I am new to all this so sorry if there is a simple explanation, after doing all this making sure crimes and things updated, I tried claiming the items and it took me to a page that dont exist? http://silentmafia.co.uk/missions_test.php?action=levelmission1 Please help me :(

Share this post


Link to post
Share on other sites

I sorted the issue haha it was so obvious xD, But I would like to ask about the original codes, for the achievements? the images dont show just the bbcode and when i try apply php code I get errors

Share this post


Link to post
Share on other sites
1 hour ago, DopeboyGFX said:

bump. can we get a revamped version of this or is this current code good ?

You'll need to update the BBCode img tags to the HTML equivalent. Other than that, it should work as-is

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)
1 minute ago, Magictallguy said:

You'll need to update the BBCode img tags to the HTML equivalent. Other than that, it should work as-is

oh this is for mcc?

Edited by DopeboyGFX

Share this post


Link to post
Share on other sites
4 hours ago, Magictallguy said:

You'll need to update the BBCode img tags to the HTML equivalent. Other than that, it should work as-is

Annoyingly one of the previous transfers messed up anchors and img tags, really not sure why. I might try mass update and fix them.

 

4 hours ago, DopeboyGFX said:

oh this is for mcc?

This is under the GRPG section, maybe we need to tag this area too.

Share this post


Link to post
Share on other sites
On 5/29/2019 at 6:57 AM, 21Lockdown said:

Wow - never thought I would see my old code again. Bloody hell. Thank you @Dave for bringing back a bunch of memories.

No problem. Glad you can check out how you write code years ago! 

Share this post


Link to post
Share on other sites

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...