So I been writing hours of different codes, trying and testing over and over and decided to see if anyone here has the golden hint. The effect does appear, however when people jump out screen and back.. it's gone. and it will take a moment before it will appear again. Thanks in advance.
So I been writing hours of different codes, trying and testing over and over and decided to see if anyone here has the golden hint. The effect does appear, however when people jump out screen and back.. it's gone. and it will take a moment before it will appear again. Thanks in advance.
You're not going to like this response, but you need to do a lot better than this. This type of code is going to break your server pretty badly. Firstly, mod 1 of everything is going to be zero, always. The mod operation just says "what's the remainder of dividing these two numbers". If you divide anything by 1, the remainder will always be zero. Secondly, you need to be adding these effects on login, not in some massive loop that loops through every character every few minutes of the server being on. That's just inefficient. On top of that, you're sending these packets in duplicates to each player's screen for each run of this code. That's approaching exponential growth (the worst type of algorithm efficiency model there is). You need to move this to login, and to a status effect using the spawn packet rather than client effects using the string packet.
@ is right dude. We have the same thought to use the string. Then again I was thinking there is an Statuseffect which will store all looped effects that's why I use the statuseffect procedure yet still confused about bitflags to figured it out (it's not a code it's a number system). Hehehe.
@ is right dude. We have the same thought to use the string. Then again I was thinking there is an Statuseffect which will store all looped effects that's why I use the statuseffect procedure yet still confused about bitflags to figured it out (it's not a code it's a number system). Hehehe.
Thanks for ur response. The 2nd reborn effect is not in the list of statuseffect. Would it be better to put it there? Thats why i tried using packet string since the 2nd rb effect only comes when im 2nd reborn by the rebirthcount.
Here is my status effects, 2NDMetempsychosis is not in there and I can't find which numbers to use behind it if I add it in there.
Not even sure you need to send a status effect for that... I'm pretty sure it's just the spawn packet having the right reborn info. You should probably send something else if you want to make a VIP aura anyways, so not to confuse players.
Not even sure you need to send a status effect for that... I'm pretty sure it's just the spawn packet having the right reborn info. You should probably send something else if you want to make a VIP aura anyways, so not to confuse players.
What do you mean by sending something else? Players are not able to 2nd rb. Just me as a PM, aura works fine but cant find code that triggers it other than reborn count, and I would like the VIP to gain this 2nd reborn effect. I just keep getting stuck on it.
Just because you don't allow 2nd reborn in your server doesn't mean the client doesn't know how to handle it. If you correctly set reborn count in entity spawn then anyone who sees that character will also see the 2nd reborn effect.
The only exception would be client version < 5000. I don't know what version your client is but since it looks like you're using LOTF it means it's at least 5017.
Just because you don't allow 2nd reborn in your server doesn't mean the client doesn't know how to handle it. If you correctly set reborn count in entity spawn then anyone who sees that character will also see the 2nd reborn effect.
The only exception would be client version < 5000. I don't know what version your client is but since it looks like you're using LOTF it means it's at least 5017.
The NCOS2 source developed super cancer in the Arabic community just like your leaked source did. That's the source he's using. They call it "***". It's the same source I found that explicitly programmed exploit in that allows anyone to delete all characters or make themselves a PM. It's very ****.
That moment people go off topic. Judging and cursing once again. Thanks anyway
Can't be helped. You contribute to the problem when you use sources like that and then spam our community. We're not hosting the source. Why bring the problems here? Why do that and then decide not to try learning how to code when people offer to help you? Why come here just to request code, and then go out of your way not to contribute back in any way. That's not what we're here for, and people who come here looking for that can leave.
I didnt force you to answer. Go smoke some weed and get over yourself
I wasn't talking about myself. Sorry if it sounds like I only care about myself, but I don't want to code for you. Nobody here does unless you're willing . Ultimately, I think you have unreasonable expectations when posting questions. I'd love to help, and I offered to help you come to better answers, but you refuse to cooperate or expect the work to be done completely for you - and then you don't respond appropriately in return. If that's not a summary for the type of attitude those ***-awful sources bring here, then I don't know what is.
@ sir, can I ask you something? Is it possible if I add new data in statuseffect? like if the statuseffect.ini have the last of 54 (of total effects) and in the public enum statuseffect also have 54. Can I add another new line of effects both statuseffect.ini and in the source part? It's kind a noob question but want to know it.
Rebirth system not saving correctly. 07/12/2013 - Flyff Private Server - 4 Replies Hi elitepvpers,
I have build in the rebirth system that Andrej released in his source.
Almost everything works. The only downside is that its not saving it to the database.
Inside the CHARACTER_TBL i have made an new field called m_nRebirthCount
In the CHARACTER_STR procedure i have added this to S1 U1 I1
Now when i do an rebirth i get this inside the m_nRebirthCount
[Sjsro]Not saving my skills. 02/01/2011 - SRO Private Server - 12 Replies Why it's not saving my skills on the skill bar?
Npc not working correctly 10/11/2010 - CO2 Private Server - 4 Replies hes not selling the items what did i code wrong
he just takes the money and sometimes he says you dont have enough but i have 99999999cps
and when it does work nothing is in my inventory
for some reason though this code has no errors
Edit: Can Someone at least give me the code for +12 2 soc items for tanels source
Edit2: il just figure it out nvm thanks everyone....
#region Kid Seller
case 4466:
{
if (Control == 0)