Jump to content
MakeWebGames

How to make crime jobs


jimtsikos

Recommended Posts

Hello guys,

i am new in mccodes and i really want your help.

I want to do new crimes for my web game

and i really want to add stamina ιin health column.

I want also change the xp bar for next level.

I use mccodes lite.

Can anyone help me?

Thanks in advance!

Link to comment
Share on other sites

Hi jim, welcome to MWG.

Could you clarify a few things for me please?

When you say "new crimes", do you mean simply adding the new crimes from the staff panel, or you want them to work entirely differently?

What exactly do you mean by "stamina in health"? I don't understand.

And, "change the xp bar", do you mean the amount of xp required to reach the next level, or the actual bar graphic from the header?

Hope you enjoy your time here. :)

Link to comment
Share on other sites

Hi jim, welcome to MWG.

Could you clarify a few things for me please?

When you say "new crimes", do you mean simply adding the new crimes from the staff panel, or you want them to work entirely differently?

What exactly do you mean by "stamina in health"? I don't understand.

And, "change the xp bar", do you mean the amount of xp required to reach the next level, or the actual bar graphic from the header?

Hope you enjoy your time here. :)

Thanks for your answer. for the firsst one i mean new quests.

For the second one there is : Energy: 100%

Will: 100%

Brave: 5/5

EXP: 50%

Health: 100%

and i want to add stamina : 5/5

intelligent : 10/10

and i want them to increase when i level up...

As for the third one imean the amount of xp required to reach the next level.

The image i know how to change it.

And one last thing. I want add a timer for brave with how long it is remaining for next brave to add and how can i change the fiiling time?.

Thanks again a lot for your reply...

Edited by jimtsikos
Link to comment
Share on other sites

New quests, as in missions? Search for missions using the search feature. I'm sure I saw a mod posted for that before.

For new stats, you will need to add a new field in the table 'userstats' in your database, set a default for the starting amount (ie 10 for stamina or whatever), then update the insert query in the register.php where the other userstats are added.

The amount of xp per level, there is a formula in the global_func.php (i think), called check_level() or similar, the formula for xp per level will be in there.

To add a timer, you will need to use JS on your page, and although I know a little JS, I wouldn't feel comfortable telling you what to do for that.

I am currently doing a personal project uing lite, so I think most of what I said is correct, but I don't have it open right now. But any difficulties, don't be afraid to message me. :)

Link to comment
Share on other sites

Thanks a lot for your reply my friend.

How can i update the insert query in the register.php?Can you give me an example?

And one last thing can you tell me how to change brave refiill time?

All that you say to me it was so helpful.

Thanks again...

Link to comment
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...