|
|
Here are some snippets of code you can use to help make this yourself: [Only registered and activated users can see links. ]
Nothing that special. I'm just happy with the outcome
720p and fullscreen recommended to see what I'm saying!
Please note that I'm using a custom interface instead of the actual current rs co-op interface, our cache does not have that.
Current features:
- If your partner kills one of your assigned monsters, they will receieve bonus xp and one co-op point. You will receieve one co-op point, exp, and a task decrease.
- Support all tasks.
- Partners do not have to have the same task for this system to work.
- Your partner does not have to be around you for this system to work.
- You can only have one partner.
- 20 co-op points will auto-convert to 1 slayer point.
- If your partner has the same task as you and they kill (ex.) a cow, you both will receieve the decrease and will both get a bonus xp boost & one co-op point.
- Anti-glitching system, variables will reset if the request is still active, and one of the players log off.
So they can have different tasks?

I would recommend a switch statement instead of handling and else if statement for every NPC id. In reality you could add the id and the dialog it references to, to a map and loop through the map per the given id to find the appropriate dialog. Just a suggestion. Neat concept.
There is a lot more things you need for this.![]()
Not bad, but I'm not sure if I like the idea of the partners being able to have different tasks (that's just my opinion, though).
I also don't know if it's a great idea for the variables to reset when one of the group members log out, as players may disconnect and inconveniently disband the party. It shouldn't be hard to add slayer xp to the offline partner.

Wish I knew WTF Co-op slayer was
Ofc I know what it is, I mean like how it works on RS; do both partners must share the same task, how much exp does each partner get (50:50 or killer gets more than 50% etc..)
Anyway, looks nice![]()
Do both players have to be online or can one be offline and one online to make it work?
Nice work.
| « [Corruptionx] Construction | Loader for my Server » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |