You are Unregistered, please register to gain Full access.
    

Cabal Releases Discuss, 3 SQL Scripts at Cabal Online forum; Auto Honor Points For New Characters SELECT GameDB Database -------------------------------------------------------- Code:...


RaGEZONE sponsored advertisment:

 
 
LinkBack Thread Tools
Old 02-10-2010   #1 (permalink)
Alpha
 
S37uP!Update's Avatar


Rank: Member
Join Date: Oct 2008
Location: Romania
Posts: 132
Thanked 14 Times in 3 Posts

3 SQL Scripts

Auto Honor Points For New Characters

SELECT GameDB Database

--------------------------------------------------------
Code:
CREATE TRIGGER [Honour] ON [dbo].[cabal_character_table]
FOR INSERT, UPDATE, DELETE
AS
begin
update cabal_character_table set Reputation = 7680000
end
--------------------------------------------------------

Auto Premium For New Characters

SELECT ACCOUNT Database

--------------------------------------------------------
Code:
update cabal_charge_auth set Type=5
--------------------------------------------------------

Auto Gps View,Maps For New Characters

SELECT ACCOUNT Database

--------------------------------------------------------------
Code:
update account.dbo.cabal_newchardata_table set WarpBField=1023
update account.dbo.cabal_newchardata_table set MapsBField=1023
--------------------------------------------------------------
Attached Files
This post has an attachment which you could see if you were registered. Registering is quick and easy
S37uP!Update is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 02-10-2010   #2 (permalink)
Certified PBKAC
 
chumpywumpy's Avatar


Rank: Moderator
Join Date: Jun 2008
Location: /f451/
Posts: 4,756
Thanked 733 Times in 301 Posts

Re: 3 SQL Scripts

Originally Posted by S37uP!Update View Post
Auto Honor Points For New Characters

SELECT GameDB Database

--------------------------------------------------------
Code:
CREATE TRIGGER [Honour] ON [dbo].[cabal_character_table]
FOR INSERT, UPDATE, DELETE
AS
begin
update cabal_character_table set Reputation = 7680000
end
--------------------------------------------------------
A trigger is not really a good way of doing this. Every time the character table is updated every single row in the table gets updated. As each online char constantly updates the char table your database is constantly rewriting the entire table and the more online chars you have the db will get slower and slower.

You can minimise the impact by altering the query to only update values that actually need updating rather than the entire table every time.

update cabal_character_table set Reputation = 7680000 where Reputation < 7680000
__________________
My Cabal server files, guides, tools and other stuff:
http://forum.ragezone.com/f459/my-collection-545201
Latest releases: Cabal Xmas gift box | Cabal server repack v2.81 [xmas]
http://forum.ragezone.com/f451/
chumpywumpy is offline   Reply With Quote
Thanked by :

Endorsement
Old 02-10-2010   #3 (permalink)
Go go go!
 
Cath22's Avatar


Rank: Member +
Join Date: Aug 2008
Location: Cabal-Arena
Posts: 705
Thanked 8 Times in 6 Posts

Re: 3 SQL Scripts

Quote:
Auto Honor Points For New Characters

SELECT GameDB Database

--------------------------------------------------------
Code:

CREATE TRIGGER [Honour] ON [dbo].[cabal_character_table]
FOR INSERT, UPDATE, DELETE
AS
begin
update cabal_character_table set Reputation = 7680000
end

hahaha i posted one of this, triggers will give your server extra load to process.
__________________
Hey Get your IQ Tested and tell me if your really that great, http://www.iqtestwebsite.net
http://www.iqtestwebsite.net
Cath22 is offline   Reply With Quote

Endorsement
<a onclick="_gaq.push(['_trackEvent', 'Outgoing', 'click', '/outgoing/http_www_game_advertising_online_com_']);" rel="nofollow" href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes

Old 02-19-2010   #4 (permalink)
Member


Rank: Hobbit
Join Date: Sep 2008
Posts: 46
Thanked 1 Time in 1 Post

Re: 3 SQL Scripts

Originally Posted by S37uP!Update View Post
Auto Honor Points For New Characters

[CODE]CREATE TRIGGER [Honour] ON [dbo].[cabal_character_table


Do you have a script skill combo, boad,bike, For New Characters?
Please share.

Last edited by kogame; 02-19-2010 at 09:05 AM.
kogame is offline   Reply With Quote
Old 02-19-2010   #5 (permalink)
Certified PBKAC
 
chumpywumpy's Avatar


Rank: Moderator
Join Date: Jun 2008
Location: /f451/
Posts: 4,756
Thanked 733 Times in 301 Posts

Re: 3 SQL Scripts

Originally Posted by kogame View Post
Do you have a script skill combo, boad,bike, For New Characters?
Please share.
This has been asked for many many time and the answer will always be the same. You need to learn how to use the char templates and also how to edit the server binary values.

I have also said many times that this is a very bad idea. First using combo at level 1 is pretty pointless as you have too few skills to use, no SP and not enough MP for the skills. Giving board and bike skills is useless as you don't have the stats to use the boards bikes (i think 1 board is usable only with no stats).

Also these items come from quests and skipping random quests is not a good idea. What happens when the player gets to that quest?

Lastly, why would you want everybody on the server to have boards and bikes? The idea of those items is that they are rare and hard to get. If you are going to just give away the rare items they are no longer rare, every town is full of bikes and players have nothing to work towards so they get bored and leave after a few hours at best.
__________________
My Cabal server files, guides, tools and other stuff:
http://forum.ragezone.com/f459/my-collection-545201
Latest releases: Cabal Xmas gift box | Cabal server repack v2.81 [xmas]
http://forum.ragezone.com/f451/
chumpywumpy is offline   Reply With Quote
Thanked by :
 

Bookmarks

Thread Tools




no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290