![]() |
It's Great!
|
need the schema for sql2k :/
|
new problem
Fail Log: NotGMAccount [GM: Unknown ] SEND: G_LOGIN_RESULT(3): 0307 Petition service check lin2world.builder_account ? If yes, what builder level need for work with petition service? My account in builder_account have 9 level, but characters on account have different levels.. 1,5,7,9 |
read manual carefully - you should make
update lin2db.user_account set login_flag=16 where account='your_account_name'; |
Quote:
|
Quote:
And ROW_NUMBER is 2k5 function... |
row_number in 2k is actually few lines of code and dunno exactly what it should do in that function
|
all you have to do is change the 8000's fo max lengths to something more realistic and it works, got it running on my 2k the row_number error doesnt seem to cause any noticable errors.
I also need to say this must be the best share next to the C4 server files, even thoe they arnt really a share. And you freed up my time, i was orking on the C1 peteion system for a few months and just about got it 100% on our C1 modded to C4 server. so Great job man. And thanks |
can u post your sql schema GMan?
|
Quote:
|
well i was going to but it looks like something went wrong, i thought i saved the sql file after i changed it but i cant fine it, then i went to just create a SQL script from my current petition DB and it has 8000's in it.
but all i did was search for 8000 in the SQLand change them to real numbers like gmname to 20 ssq to 50 account to 20 content to 5000 - guessing here not sure how long a petition description can be. and so on because char names acan only be 16 chars long and i think accounts could only be 18??, cant remember off the top my head as for the row_number like i said i have not figured that out, there must be a way to do it in normal SQL it looks like its used to set the row to start on then read the next @size results. not sure bt if thats it i remember looking up a simmaler thing before with MSSQL because it does not really support the LIMIT command |
I made sql schema for sql2k:
- rewrote statement to create user-defined type TSeq using 2k syntax. - remove "EXEC dbo.sp_executesql" to creating procedures and replace them with "CREATE PROCEDURE" operators. - rewrote procedure that uses ROW_NUMBER() to exlude this function from 2k5. - replace varchar(max) to reasonable values. Schema for sql2k in attachment. But I can't test this schema - I can't run PetitionConsole.exe ;( Immidiatelly after starting it shows error window with following text: "The application failed to initialize properly (0xc0000135). Click OK to terminate the application." Please let me know what I doing wrong... Need help! :help: Вложения из исходного сообщения (сами файлы в копии отсутствуют): petition.rar — 2712 байт |
thanks imma test it
edit: that works perfectly, thanks alot dude! |
Quote:
|
Quote:
Thanks for your answer, the problem was in .NET Framework. I read 1st post MANY times and don't found single word about .NET Framework required... 2 aralyon: Please, edit 1st post and add requirements... |
Quote:
|
Quote:
|
thanks for the great share! it works perfect. Just 2 questions...
1) There is a restriction for petition submitting from 5am to 1pm. can it be removed somehow? Maybe its client side I don't know... 2) Is there a way to view petition logs in a list and not shiffled through the database? It would be nice to be able to check my gms that way. Keep up the good work |
top gear, go to server.ini [petitionD] delete that line that says about that disable etc.
|
thanks a lot :D:D
|
trouble
Code:
Unhandled Exception: System.Net.Sockets.SocketException: Only one usage of each |
Quote:
Check Task Manager. Maybe your Petition server already work as service. |
No. It's absent.
|
Quote:
|
Thank you HF, really a nice share works great
|
hello
first of all: thx very much for this share!!! ok, i have installed the petition server and everything seems to work. but when i enter a petition it always says that i have 4 petitions left today and that there are 11 petitions pending... does anyone know how to fix this? i deleted petitioncategory.txt in the script folder. thanks in advance |
[wrong post]
|
i can't add notes (database fail error)
players always see that they have 4 petitions left for today and that there are 11 petitions pending. how to fix this? thanks in advance. |
I'm sorry, I'm now unable to develop petition system or anything related to L2 server due to loss the server. It is nessecary to have access to live server (or test server, but I'm unable to start L2 server on my PC)
|
Quote:
Code:
/* To prevent any potential data loss issues, you should review this script in detail before running it outside the context of the database designer.*/Quote:
|
Yes please Aralyon, share your client source, we can continue your work.
|
ty sauron, appreciated.
aralyon thanks for you works so far!, sharing your source would indeed benefit the community. greetz. |
Quote:
|
aralyon contact demon or HF for help.
|
Quote:
|
I start the mistake, in what a problem takes off?
2007-01-05 19:51:43 E DB Fail: up_Server_UpdateGmStatus(Clear): Login failed for user 'user'. 2007-01-05 19:51:43 I Load Petition Category 2007-01-05 19:51:43 E DB Fail: up_Server_GetCurrentCategory: Login failed for user 'user'. P.S. All has already understood |
Help in tables there is nothing it will not be worn out!!!
[rus] помогите при отправлении петиции в базу нечего незаноситься [/rus] my log: 2007-01-05 22:16:27 N Petition Service Start (build 20011) 2007-01-05 22:16:27 N Make Database 10 Connections 2007-01-05 22:16:27 N Clear GM Status 2007-01-05 22:16:27 I Load Petition Category 2007-01-05 22:16:27 I 1: Immobility 2007-01-05 22:16:27 I 2: Game tips 2007-01-05 22:16:27 I 3: Bug report 2007-01-05 22:16:27 I 4: Quest related 2007-01-05 22:16:27 I 5: Suggestions 2007-01-05 22:16:27 I 6: Report a bad user 2007-01-05 22:16:27 I 8: Recovery related 2007-01-05 22:16:27 I 9: Operation related 2007-01-05 22:16:27 I 255: Other 2007-01-05 22:16:27 I Initial Petition Sequence No: 20070105000001 2007-01-05 22:16:27 N Server Name: la2, Server IP: 1xx.xx.1.10 2007-01-05 22:16:27 N Starting World Service at 0.0.0.0:2107 2007-01-05 22:16:27 N Starting GM Service at 0.0.0.0:3109 2007-01-05 22:16:27 N Starting Notice Service at 0.0.0.0:3121 2007-01-05 22:16:35 D [World: Unknown(0)] SEND: W_SERVER_VER(101): 65000000009D8685C24B9557FB 2007-01-05 22:16:35 D [World: Unknown(0)] RECV: W_CONNECT_WORLD2(137): 89102700000201094C0069006E006500610067006500320000 000100C363E766054502E782C13ABD4C67E43D 2007-01-05 22:16:35 I [World: Lineage2 (1)] 0 petitions loaded. 2007-01-05 22:16:35 D [World: Lineage2 (1)] SEND: W_ACCEPT_WORLD(103): 6700 |
Can anyone repost PetitionD and gmclient?
aralyon had gone link dead I found a release that LOOKs similar to this, but all i get when i start it is this then it crashes: 2007-03-04 16:55:40 N Petition Service Start (build 20011) 2007-03-04 16:55:40 N Make Database 10 Connections 2007-03-04 16:55:40 N Clear GM Status |
|
Thanks! Appreciate it!
|
| All times are GMT. The time now is 14:11. |