Ways to fix various role bugs(town)

boynedmasteralmost 12 years ago

locked cause (apparently) all intentional

Can't post this on Complaints cause I don't have enough karma mod please move bla bla bla.

This is intended towards lucid (and my Boyned4Dev movement)

Going through the wiki, there are obviously many bugs in EM. These are some ways to fix some.

  • All messages Spy send out go to the Agent, all messages Agent sends out goes to the Spy (along with the role it was sent to.)

This is implying that Spy and Agent have the same function or socket method for contacting. If this is correct, just copy and paste the old contact method, change a few things if needed, and name them accordingly (spycontact, agentcontact).

  • If masoned or culted, the game goes into a famine. So, the baker does not need to die for the baker to go into a famine.

This is assuming there is a check for the baker count, then runs a function. Instead, check on the death event for Baker, or at the start of a day, check through all dead roles and check if they're Baker.

  • Shoots all visitors, instead of one per group (mafia/mason/cult)

Most likely intention, but just in case. Make an array containing all roles that can be in a group (or check inside the actual role object). At night, duplicate this array. When a role joins, check if they're in the group. If so, kill them and remove them from the duplicate array.

  • If Jailer jails Granny, he'll die as soon as the night ends. - Probably intentional.

If not intentional, make Granny check if the person who visited was a jailer.

  • Only one mason dies on mismason.

If not intentional, on the function for killing on mm, for loop between every role, and if they're a mason, kill.

  • If masons vote on someone, and that person suicides (or is afk kicked presumably), they won't be able to change their vote and the person will be on the lynch vote list the next day. Also, they will be displayed as their starting role until they are kicked during the day, after which they will be shown as a mason

This actually happens with a lot of roles. An easy fix would be to run a function on sui, where it auto unvotes if they have that as their target.

  • Perhaps intentional, but a Vigilante who shoots a mason when the mason dies from mis-masoning results in the Vigilante dieing.

If not intentional, use the same method with "Only one mason dies on mismason."

  • If killed by the Hitman, the vigilante's kill will still go through.

Change order of events.


That's all that I know for town roles. If anyone wants fixes for maf roles, tell me. And remember. Boyned4Dev.

Petition
Boyned4Dev
1 signed
Boyned4Dev
boynedmasteralmost 12 years agoedited
admin
this is all intentional dude...
like i said i was just reading off wiki things. lockin thread.

Betrayal
lucid doesn't want any devs this thread is a troll one
obviously you havent seen my extensive attempts to be a dev

gistofeverything
Go to Bug Reports and start helping people there for you to really become a dev :)
ehh thats more mod and not actual dev

also i dont have enough karma tsk tsk

i gotta try my hardest to be a dev at something ive already made but havent released y'know
Betrayalalmost 12 years ago
lucid doesn't want any devs this thread is a troll one
gistofeverythingalmost 12 years ago
Go to Bug Reports and start helping people there for you to really become a dev :)
deleteddeletedalmost 12 years ago
yeah wtf they are not bugs
adminalmost 12 years ago
this is all intentional dude...
2
boynedmasteralmost 12 years ago
Connor
lucid knows how to code his stuff. also a lot of these bugs are outdated as heck lol
like i said i just took them from the wiki
also why not have someone do it for you for free
Clairalmost 12 years ago
lucid knows how to code his stuff. also a lot of these bugs are outdated as heck lol
boynedmasteralmost 12 years ago
bumping cause these should be put in