| Mirage Source http://www.miragesource.net/forums/ |
|
| Problems with the source http://www.miragesource.net/forums/viewtopic.php?f=201&t=4828 |
Page 1 of 2 |
| Author: | Matt [ Sun Dec 07, 2008 4:28 pm ] |
| Post subject: | Re: Problems with the source |
Try deleting your items and see if you still get it. If you can get in, create an item, save it, logout and log back in. See if this happens again. |
|
| Author: | dioxsirramza [ Sun Dec 07, 2008 4:49 pm ] |
| Post subject: | Re: Problems with the source |
i delete all the items but the error is still in here T_T |
|
| Author: | Matt [ Sun Dec 07, 2008 4:53 pm ] |
| Post subject: | Re: Problems with the source |
Have you changed any code? What version of MS are you using? |
|
| Author: | dioxsirramza [ Sun Dec 07, 2008 4:55 pm ] |
| Post subject: | Re: Problems with the source |
i am using an old version of legends of kronia, like playerworlds, i dont change any code, I only translate some text messages |
|
| Author: | Matt [ Sun Dec 07, 2008 5:52 pm ] |
| Post subject: | Re: Problems with the source |
Ah. I've never looked at LoK's source. Something is being sent in the packet, that's too big for that variable to hold. I'd start with following the packets. |
|
| Author: | GIAKEN [ Sun Dec 07, 2008 11:26 pm ] |
| Post subject: | Re: Problems with the source |
After n = Val(Parse(1)) add: Code: If n < 1 Or n > MAX_ITEMS Then Exit Sub
|
|
| Author: | Matt [ Sun Dec 07, 2008 11:41 pm ] |
| Post subject: | Re: Problems with the source |
It would be better if he figured out the issue, instead of going around it though. |
|
| Author: | GIAKEN [ Sun Dec 07, 2008 11:58 pm ] |
| Post subject: | Re: Problems with the source |
This isn't going around it...the problem is because he's probably got the max_items different values or something from server to client and to safeguard from that you add a simple check. It's just like doing If Index < 1 Or Index > MAX_PLAYERS checks. |
|
| Author: | dioxsirramza [ Mon Dec 08, 2008 12:11 am ] |
| Post subject: | Re: Problems with the source |
i fix the bug, thanks |
|
| Author: | Matt [ Mon Dec 08, 2008 12:12 am ] |
| Post subject: | Re: Problems with the source |
But if it's a problem like that, don't you think he should fix the problem instead of adding a check like this? |
|
| Author: | Kraft [ Mon Dec 08, 2008 1:10 am ] |
| Post subject: | Re: Problems with the source |
Perfekt wrote: But if it's a problem like that, don't you think he should fix the problem instead of adding a check like this? Yeah! No offense, but that's the Elysium/Eclipse/Chaos way of "fixing" stuff. |
|
| Author: | GIAKEN [ Mon Dec 08, 2008 1:34 am ] |
| Post subject: | Re: Problems with the source |
How did you fix the problem diox? |
|
| Author: | dioxsirramza [ Mon Dec 08, 2008 2:48 am ] |
| Post subject: | Re: Problems with the source |
in the client some of the values like max players, max items, etc, was diferent from the server sorry for my horrible english |
|
| Author: | GIAKEN [ Mon Dec 08, 2008 2:51 am ] |
| Post subject: | Re: Problems with the source |
Cool. |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|