Skip to content
La2Base
Home
DownloadsWikiForumFAQ
Search
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Скрипты/Exp=0 Sp=0
Search

Exp=0 Sp=0

3 replies322 viewsCurrently viewing: 1
Inoi
Inoi

User

Бывалый

Posts: 334

На форуме с: 12/29/2007

Репутация: +240

Рейтинг: 0

· 07/12/2008, 11:02 AM

Проблема не редкая... Возникла и у меня, и возникнет еще, уверен.
Всякие флудоболы с пп стали орать меняй руки, мозг и дллку...
А всё гораздо проще, проблема в кривых процедурах.
Исправление этого нарыл на рейджзоне...



Hello , I've been out of the loop since C2, a lot of new stuff to get my mind all tangled up in,

I'm working with a mixture of Interlude files and have put together a somewhat solid build,

the last thing on my list before QC'ing the build any further is this exp,drop, Adena issue I've put together a few stored procedures and can't figure this one out :S

any of you working with the interlude files and have successfully gotten it running , may also notice this issue,,

Код
CREATE TABLE [dbo].[droplist]
(
[mobId] int DEFAULT 0 NOT NULL,
[itemId] int DEFAULT 0 NOT NULL,
[min] int DEFAULT 0 NOT NULL,
[max] int DEFAULT 0 NOT NULL,
[category] int DEFAULT 0 NOT NULL,
[chance] int DEFAULT 0 NOT NULL
)
ON [PRIMARY]
GO


I've tried a drop list table creation i put together - no luck I'm not sure of what to do with the PRIMARY KEYS

and also have tried the dynamic rates fix i found mixed up in some of the sql updates I've seen floating on the web

Код
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[dynamic_rates]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[dynamic_rates]
GO

CREATE TABLE [dbo].[dynamic_rates] (
    [acc_name] [nvarchar] (50) NOT NULL ,
    [adena_drop] [float] NOT NULL DEFAULT 1,
    [items_drop] [float] NOT NULL DEFAULT 1,
    [spoil] [float] NOT NULL DEFAULT 1,
    [_exp] [float] NOT NULL DEFAULT 1,
    [_sp] [float] NOT NULL DEFAULT 1
) ON [PRIMARY]
GO


It seems that event items, and quest items are given, as well as quest rewards...

SOO...
Anyone that isn't begging for a spoon fed file,,,,,,,

and wants to use their brain with me on this one, I'd be glad to help, and get help as well ~

Pms' are welcomed if you don't care for the leeching public.
:thumbsup:

— la2club.com admin

0
AbsT
AbsT

User

Ветеран

Posts: 1514

На форуме с: 12/10/2007

Репутация: +768

Рейтинг: 0

· 07/12/2008, 11:26 AM

Проблема довольно-таки распространенная и вовсе не редкая.
На том-же пп было уже очень много тем об этом...как на русском, так и на английском.
Приложив немного усилий, там можно найти это-же самое решение с процедурами.
Пп - очень серьезный ресурс, а обитают там истинные админы, айтишники и железячники. Такое поведение характерно, поверьте :)

Ну раз решение найдено - гратз :)

— Ålderdom - ingen glädje..

0
Inoi
Inoi

User

Бывалый

Posts: 334

На форуме с: 12/29/2007

Репутация: +240

Рейтинг: 0

· 07/12/2008, 11:29 AM

да, там есть этот же копи паст где то на 40-50 страницах....)
и никто из "отцов" почему то там о нём не слышал :D

— la2club.com admin

0
Topic is closed for replies